pcoet / monkey-interpreter-ts

A(nother) Monkey implementation in TypeScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

monkey-interpreter-ts

A(nother) TypeScript implementation of the Monkey interpreter.

Install

npm install

Build

npm run build

This runs the tests, the linter, and the TypeScript compiler.

Run

First install and build, the run:

npm start

Input examples:

let x = 1 * 2 * 3 * 4 * 5;
x * y / 2 + 3 * 8 - 123
true == false

And this should produce an error:

let x 12 * 3;

TODOs

About

A(nother) Monkey implementation in TypeScript

License:MIT License


Languages

Language:TypeScript 99.9%Language:JavaScript 0.1%