Skip to content

dhitchin/Lox-interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published