Skip to content

diegopacheco/writing-interpreter-in-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

writing-interpreter-in-go

Book: Writing an Interpreter in Go by Thorsten Ball

Notes

objectsystem package has the latest and full impl of Monkey lang.

The book is not on latest Go version. I migrated and upgrade to version go 1.24.0

Monkey Language

  • Token, Lexer, AST, Parser, Interpreter and REPL
  • types: int, string, bool, array and hash
  • if/else
  • inflix/postfix expressions
  • functions
  • literals
  • closures
  • built-in functions

Diego Pacheco extra notes

  • I added a tracing system for better debugging
  • Migrated from Go versionm 1.16 to 1.24
  • Added scripts for build and testing

About

writing-interpreter-in-go book

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published