Skip to content

A Typescript implementation for the Lox programming language (wip)

License

Notifications You must be signed in to change notification settings

Gbuomprisco/ts-lox

Repository files navigation

ts-lox

A Typescript implementation for the Lox programming language, described by Bob Nystrom in his awesome book Crafting Interpreters. The syntax is slightly changed based on my personal preferences.

The implementation is not yet complete, as it still lacks closures and classes.

Using the interpreter

Run the file index.ts using ts-node and provide a parameter for the file to be parsed. From the directory src:

ts-node index.ts <my-lox-file>

Credits

This repository used the typescript-starter library.

About

A Typescript implementation for the Lox programming language (wip)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published