An implementation of the Monkey Language on TypeScript running on Bun
TSMonkey has many sibling implementations
The book (Writing An Interpreter In Go) is fully implemented. TSMonkey will not have a compiler implementation
Bun installed and running in your machine. You can test it by running the command:
bun --version
1.0.21
Command | Description |
---|---|
bun install |
Install all the packages using bun |
bun jest |
Run tests |
bun run benchmark.ts |
Run the classic monkey benchmark (fibonacci(35) ) |
bun run index.ts |
Run the TSMonkey REPL |