grift 1.5.0

A simple minimalistic Lisp built on the grift_arena allocator
Documentation

Grift – A Minimalistic Lisp

A simple Lisp built on top of [grift_arena], the arena allocator.

Features

  • No-std, no-alloc: Works in embedded environments with no heap
  • Arena-allocated: All values live in a fixed-size arena
  • Simple API: Parse and evaluate Lisp expressions in one call

Example

use grift::{Lisp, Value};

let lisp: Lisp<20000> = Lisp::new();
let three = lisp.eval("(+ 1 2)");
assert_eq!(three, Ok(Value::Number(3)));