/lox

Primary LanguageC++

lox

linux windows

This repo contains my implementation of the lox language parsers from crafting interpreters. Despite the book, both versions will be implemented in C++.

todo

  • complete part one of jlox implementation
  • add language syntax sugaring
  • move error reporting from commandline to lib
  • make embeddable and extendable from c++
  • use kgt to output railroad diagrams for syntax documentation inspired by the awesomeness that is sqlite

lox additions/upgrades

  • add arrays and iterators
  • add switch-like if/else sugar
  • add break/continue
  • add constants
  • complete todo comments
  • modulus operator
  • get ideas from python and c#