Crate callisp

source ·
Expand description

callisp - Callum’s Lisp

This is a Lisp interpreter, written with the intention of being used in WASM.


The AST module contains structs and enums for the abstract syntax tree.
Contains all the built-in functions for callisp.
Contains the struct Environment that stores current bindings for the interpreter.
Contains a single enum that represents all errors that can occur in the interpreter.
Contains the functions used to evaluate an AST.
Contains parser created using the nom crate.
Contains all the built-in special forms such as def, lambda, etc.


Parses a string to an expression then evaluates that expression and returns the string representation of the result.