Expand description
§callisp - Callum’s Lisp
This is a Lisp interpreter, written with the intention of being used in WASM.
Modules§
- ast
- The AST module contains structs and enums for the abstract syntax tree.
- builtins
- Contains all the built-in functions for callisp.
- env
- Contains the struct Environment that stores current bindings for the interpreter.
- error
- Contains a single enum that represents all errors that can occur in the interpreter.
- eval
- Contains the functions used to evaluate an AST.
- parser
- Contains parser created using the nom crate.
- special_
forms - Contains all the built-in special forms such as def, lambda, etc.
Functions§
- parse_
eval_ print - Parses a string to an expression then evaluates that expression and returns the string representation of the result.