Skip to content

Latest commit

 

History

History
executable file
·
17 lines (13 loc) · 452 Bytes

readme.md

File metadata and controls

executable file
·
17 lines (13 loc) · 452 Bytes

Lox Scripting Language Bytecode VM

A version of the Bytecode VM written in C. Based on the book https://craftinginterpreters.com.

For a Tree-Walk Interpreter written in Go see golox.

Additions to Lox

  • Lexer
    • C-style multiline comments /* ... */
    • break keyword
  • Parser
    • break statement
  • VM
    • ParseError: unused local variable
    • handle break statement in for and while loops