Skip to content

[Learning] An implementation of a Monkey interpreter in Typescript

Notifications You must be signed in to change notification settings

xavdid/monkey-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.