Skip to content

omrawaley/rust-lisp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust LISP

A simple LISP interpreter written in Rust.

Keywords

Operators

+, -, *, /

E.g. (+ 1 2 3 4 5) => 15

Definitions

let => Define a constant

E.g. (let pi 3.14)

func => Define a function

E.g. ( (func square (x) (* x x)) (square (4) ) => 16

To-Do

  • Error handling
  • Ability to interpret source files
  • More keywords (e.g. if, ==)
  • Expanded standard library (e.g. pow)