Skip to content

An implementation of LOX on the .NET Dynamic Runtime

License

Notifications You must be signed in to change notification settings

clrudolphi/dlrLox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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



About

An implementation of LOX on the .NET Dynamic Runtime

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages