Skip to content
This repository has been archived by the owner on Mar 26, 2021. It is now read-only.

Latest commit

 

History

History
10 lines (6 loc) · 700 Bytes

README.md

File metadata and controls

10 lines (6 loc) · 700 Bytes

HxLox

A pure Haxe implementation of the Tree-Walk Interpreter from Crafting Interpreters.
Read the amazing book for more information about the theory behind it.

It should work on any of Haxe's sys targets (Check the official website for more information), although it has only been tested on HashLink and HashLink/C

Differences to Java version

As Haxe supports pattern matching this implementation uses it instead of the Visitor Pattern of the original Java version described in the book. This also leads to some other minor differences in other places.