Skip to content

tmyracle/go-interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Implementation of Writing an Interpreter in Go

This is my Go implementation of the Monkey interpreter from the book "Writing an Interpreter in Go" by Thorsten Ball. The book is a great resource for learning how to write an interpreter and I highly recommend it. The book is available at https://interpreterbook.com.

Starting the REPL

To start the REPL, run the following command:

go run main.go

Running the Tests

To run the tests, run the following command:

go test ./...

Implemented to date

  • Initial token definition
  • Initial lexer
  • Basic REPL to print tokens
  • Parser
  • Evaluation
  • Extending the interpreter
  • etc...

About

Repo for following Writing an Interpreter in Go

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages