An open API service indexing awesome lists of open source software.

https://github.com/davidelettieri/lox

C# implementation of Lox from https://www.craftinginterpreters.com/
https://github.com/davidelettieri/lox

csharp lox

Last synced: about 2 months ago
JSON representation

C# implementation of Lox from https://www.craftinginterpreters.com/

Awesome Lists containing this project

README

          

# Lox
C# implementation of Lox from https://www.craftinginterpreters.com/

I just ported all the code from the original Java implementation. Some changes were necessary for fixing keywords and methods naming conventions from Java to C#.

# Notes

In order to build the solution, you need to have a github PAT token (classic) with read-packages permissions set at the env variable GITHUB_PAT.
That's because the project is using a package I published on github.

# Tests

Tests were copied as is from the implementation, I used a console app to build the test cases from the .lox files in the test folders.