Skip to content

hman523/minlisp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minlisp

A minimum lisp implementation

Build Status

This is just for fun, I've been messing around in Rust and want to get better.

Some of the inspiration for this project (and the parser) came from this article

The goal is to have the implementation of the language in less than 1000 lines of Rust, excluding tests and comments. It should support all of the features that McCarthy designed in his initial paper.

The langauge supports:

  • Tokenizing
  • Parsing
  • Evaluating
  • Error handling
  • Type checking
  • Numeric calculations
  • Numeric comparison
  • if statements
  • set expressions
  • lambdas
  • quoting
  • List processing
  • Garbage collection