lox.archive

lox interpreter written in C#

Stars
1

lox

Summary

Lox interpreter written in C# (.NET Framework 4.8)

This was my first attempt at Crafting Interpreters that sputtered out at some point. Doing it all over again in C# .NET 7 here: https://github.com/h2oboi89/lox

Based on Bob Nystrom's Lox book

  • website: Crafting Interpreters
  • github: munificent/craftinginterpreters

Significant Deviations

  • print keyword converted into built-in function

  • redeclaring variables outside of prompt throws an exception

  • added % operator (modulo)

Challenges

  • added break and continue statements