Skip to content

Rusht is a simple Lisp written in Rust

License

Notifications You must be signed in to change notification settings

marcfrederick/rusht

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rusht

Rusht is a simple Lisp written in Rust. It can be used through an included REPL. The crate consists of two sub-crates implementing the interpreter and command line interface respectively.

Tokenizer, parser, and interpreter have been written manually. No parser combinator or parser generator like tools have been used.

Features

  • Included CLI/REPL
    • Command history
    • Highlight matching braces
  • Standard library
  • Type coercion
    (+ "100" 5)
  • Variable definitions
    (def x 5)
  • Lambda expressions
    (def add1 (func (a) (+ a 1)))

About

Rusht is a simple Lisp written in Rust

Resources

License

Stars

Watchers

Forks

Languages