Skip to content

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

Contributing

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages