Scheme Interpreter in Rust
Rust
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src added support for hierarchy of envs Dec 30, 2015
.gitignore initial commit Dec 26, 2015
Cargo.lock initial commit Dec 26, 2015
Cargo.toml initial commit Dec 26, 2015
README.md initial commit Dec 26, 2015

README.md

lisp.rs

lis.py ported to rust

jsdf:lisp_rs jfriend🔥  cargo run

lisp.rs> (+ 2 2)
=> 4
lisp.rs> (begin (define r 10) (* pi (* r r))) 
=> 314.1592653589793
lisp.rs> (if (> 10 20) (+ 1 1) (+ 3 3))
=> 6