A simple LISP interpreter written in Rust.
+
, -
, *
, /
E.g. (+ 1 2 3 4 5)
=> 15
let
=> Define a constant
E.g. (let pi 3.14)
func
=> Define a function
E.g. ( (func square (x) (* x x)) (square (4) )
=> 16
- Error handling
- Ability to interpret source files
- More keywords (e.g.
if
,==
) - Expanded standard library (e.g.
pow
)