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.
Oddly, the VM
implementation is comparable in speed (if not a little faster) than the eval
version. There are profiles in the profiling
directory.
I'd like to learn more about Prettier and ESLint work by making Monkey compatible with them.