Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.17 KB

README.md

File metadata and controls

27 lines (20 loc) · 1.17 KB

DlrLox

An implementation of Lox on the .NET Dynamic Runtime

The parser for this implementation is borrowed from Lox.NET


Some of the code for the Lox dynamic binders was borrowed from/inspired by the [Sympl](https://github.com/IronLanguages/dlr/tree/master/Samples/sympl) language sample provided with the DLR. For this implementation of Lox, interoperability with .NET types and other DLR languages was a non-goal. As a result, the binding code is simpler and less fully featured than found in other DLR-based languages.

No time has been spent on performance tuning. This implementation runs about an order of magnitude slower than clox.

This implementation was built as a learning exercise.

Future Goals:

  • Performance improvements
  • Code Editor support (syntax highlighting, LSP integration to VS Code)
  • Debugger
  • Experiment with replacing the RD parser with a Pratt parser
  • Experiment with alternative backend implementations

License