#tree #s-expr #lisp #symbolic-expression

ketree

A tree representing a symbolic expression that can be created with Ketos

16 releases (4 breaking)

Uses old Rust 2015

0.5.2 Nov 18, 2017
0.5.1 Nov 3, 2017
0.5.0 Aug 6, 2017
0.4.4 Aug 5, 2017
0.1.3 Jul 25, 2017

#35 in #s-expr

MIT/Apache

19KB
386 lines

Ketree

This is a small library that allows for the creation of trees that represent symbolic expressions using Ketos.

Building a Tree

Add the following to Cargo.toml:

[depenencies]
ketree = "0.5.2"

Then, to the crate root, add:

extern crate ketree;

You will then need to add Ketos to your project and write a struct that implements ModuleLoader. This struct can then be passed to an instance of TreeBuilder to create a tree. Check tests for an example.

Dependencies

~5MB
~112K SLoC