Skip to content

QU4SIMOTO/monkey-interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monkey Interpreter

Simple rust implementation of the interpreter outlined in Writing An Interpreter In Go.

Description

This is a learning project and isn't optimised or particularly well implemented. Most of the features outlined in the book are working but errors aren't yet handled correctly

Running the interpreter

Repl

cargo run

Using file

cargo run -- <PATH>

TODO

  • Add line and column numbers to parsing errors
  • Print out parsing and evaluation errors in repl instead of filtering them out
  • Add integeration tests
  • Refactor to avoid unnecessary allocations in Lexer and Parser
  • Add rustdoc

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages