/rlox

🥯 Ruby-flavored Lox interpreter

Primary LanguageRubyMIT LicenseMIT

rlox

Implements a Lox interpreter in Ruby.

This is a "by-the-book" implementation that aims to stick as closely as possible to the source text (and ideally, serve as a jlox drop-in). The interpreter itself has been adapted to be more ruby-like, where germane.

Features

  • Scanner
  • AST
  • Parser
  • Evaluations
  • Statements and state
  • Control flow
  • Function
  • Resolving and binding
  • Classes
  • Inheritance

License

rlox is released under the MIT License.


Developed by Chris Sloop