Expand description
An interpreter for a lisp dialect.
There are three phases through which code is transformed:
- Scanner: transforms the input string into tokens
- Parser: transforms the tokens into an abstract syntax tree (AST) made of expressions
- Evaluator: Evaluates the program represented by the AST
Each phase is an iterator which feeds into the next.
Re-exports§
pub use evaluator::Evaluator;
pub use evaluator::Expr;
pub use parser::Parser;
pub use scanner::Scanner;