An open API service indexing awesome lists of open source software.

https://github.com/xavdid/monkey-ts

[Learning] An implementation of a Monkey interpreter in Typescript
https://github.com/xavdid/monkey-ts

golang interpreter monkey typescript

Last synced: 4 months ago
JSON representation

[Learning] An implementation of a Monkey interpreter in Typescript

Awesome Lists containing this project

README

          

# monkey-ts

An implementation of a [Monkey](https://monkeylang.org) interpreter & compiler in [Typescript](http://typescriptlang.org).

Written while reading [Writing an Interpreter in Go](https://interpreterbook.com/), but for people who weren't really wowed by Go. Also covers the sequel, [Writing a Compiler in Go](https://compilerbook.com).

Started using [generator-xavdid](https://github.com/xavdid/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.