Skip to content

A partially implemented LISP interpreter having an AST tree and evaluator. Also an Environment. For use in a talk at work.

License

Notifications You must be signed in to change notification settings

InvisibleTech/evalfun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Purpose

The start of a LISP interpreter having: tokenizer, parser, an AST tree and evaluator. Also an Environment.

Originally, for use in a talk at work.

Limitations

  • No unit tests
  • Not very experienced in Golang, so the code is neither idiomatic nor very clean
  • Handles only addition and multiplication for now

Good Stuff

  • Doesn't use a parser generator
  • Shows how one can load a dictionary of primitives
  • Tokenizer is also simple
  • Conceptually based on https://norvig.com/lispy.html

About

A partially implemented LISP interpreter having an AST tree and evaluator. Also an Environment. For use in a talk at work.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages