2018-07-25 13:18:58 +02:00
2018-07-25 13:18:58 +02:00
2018-07-24 18:34:17 +02:00
2018-07-25 13:18:58 +02:00

rlox

rlox is an unpronouncable variant of the tree-walk interpreter laid out in Crafting Interpreters, written in Ruby, because I want to learn it.

It deviates a little from the “canonical” version of Lox. I dont use code generation for the expressions, and I dont use the visitor pattern. var and fun are let and fn, respectively. And we dont need parentheses around branching conditions, instead we require the bodies to be blocks.

S
Description
Crafting Interpreters in Ruby
Readme 352 KiB
Languages
Ruby 100%