Skip to content

CarraraSoftware/xpr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xpr

Simple interpreted dynamic language, made for educational purposes. This project is an attempt in implementing some of Rust's expression-based features in an interpreted manner. The main algorithm used for parsing is Pratt's Top-Down Recursive Descent.

Examples

Imperative Fibonacci Recursive Fibonacci

Usage:

For now there is no releases, so you need the Go compiler.

git clone https://github.com/CarraraSoftware/xpr .
go run . -input ./examples/fibonacci.xpr

References:

Lives:

About

Xpr: a study in parsing and interpreting expressions

Resources

Stars

6 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages