Skip to content

xavdid/monkey-ts

main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

monkey-ts

An implementation of a Monkey interpreter & compiler in Typescript.

Written while reading Writing an Interpreter in Go, but for people who weren't really wowed by Go. Also covers the sequel, Writing a Compiler in Go.

Started using generator-xavdid.

Notes

Oddly, the VM implementation is comparable in speed (if not a little faster) than the eval version. There are profiles in the profiling directory.

Future Projects

I'd like to learn more about Prettier and ESLint work by making Monkey compatible with them.