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
- Host: GitHub
- URL: https://github.com/xavdid/monkey-ts
- Owner: xavdid
- Created: 2018-10-26T00:54:28.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2022-11-15T04:51:38.000Z (over 3 years ago)
- Last Synced: 2025-10-11T02:22:50.011Z (8 months ago)
- Topics: golang, interpreter, monkey, typescript
- Language: TypeScript
- Homepage:
- Size: 346 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.