MarioAriasC / TSMonkey

An implementation of the monkey language on TypeScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TSMonkey

An implementation of the Monkey Language on TypeScript running on Bun

TSMonkey has many sibling implementations

Status

The book (Writing An Interpreter In Go) is fully implemented. TSMonkey will not have a compiler implementation

Commands

Prerequisites

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

About

An implementation of the monkey language on TypeScript

License:Apache License 2.0


Languages

Language:TypeScript 99.7%Language:JavaScript 0.3%