Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 252 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 252 Bytes

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