0.0.1-beta.1 • Published 3 years ago
tslox v0.0.1-beta.1
tslox
A TypeScript implementation of the Lox programming language (as specified in the book Crafting Interpeters).
Wayfinding
- The main TypeScript interpreter code for the library can be found in the
tslox/folder.npm testwill run the tests intslox/tests/to ensure assertions are met.npm run buildwill output the compiled library code intodist/.
- An interactive "test bench" — is also provided. It is a React app that allows you to explore, understand, and prod the
tsloxlibrary through a web interface.- Play with the test bench live! https://tslox.netlify.app
npm run devlaunches the test bench on a local server. The app will auto-reload with the latest changes to the interpreter source code as well as the test bench UI code.npm run build:webappwill output the compiled webapp intodist/. (Useful for deployment and hosting the UI.)
Prerequisites
Clone the repo and install dependencies.
npm install0.0.1-beta.1
3 years ago