Skip to content

Rounak-stha/tslox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TS Lox

A TypeScript Implementation of Lox programming language by Robert Nystrom. What's unique about this is that you can define your own keywords. On the demo site, I've defined Nepali keywords; on the custom tab, you can update the keywords to your liking.

Try it and let me know what you think about this project.

Demo

https://tox-lang.vercel.app/

image

Install and Run

npm i

# Run the Repl
npm run tox

# Interpret from File
npm run tox <PATH_TO_ FILE>

# There are Lox Code Examples under lox/src/loxCode/*.lox
npm run tox lox/src/loxCode/block.lox

# Run the webapp
npm run web

Contributing

Contributions are always welcome!

I am still working on maing the contribution guidelines but feel free to open an issue or submit a PR.

About

TyeScript Implementation of Lox by Robert Nystrom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published