Skip to content

Latest commit

 

History

24 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Lox-interpreter

This repo is for my implementations of the "jlox" interpreter and "clox" compiler from Crafting Interpreters.

C# interpreter

This interpreter is very similar to the "jlox" interpreter outlined for Java in the Crafting Interpreters book. There are some changes to variable names, and some syntax changes to make it more "C#-esque".

Some changes include:

  • Use of text templates for code generation instead of an external tool.
  • Addition of '++' and '--' postfix operators

TODO:

  • Ternary operator
  • Additional built-in functions
  • Bugfixes when dealing with variables and closures

About

C# implementation of the Lox interpreter from Crafting Interpreters

Topics

Resources

Stars

9 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages