An implementation of Lox written in Inform 6

I was reading the book Crafting Interpreters by Robert Nystrom, which walks the reader through writing a compiler and interpreter for a language called Lox, and I decided to implement it in Inform 6 (specifically, the bytecode interpreter from Part III).

I know it’s not interactive fiction, but I suppose it might interest people, so here it is:

It was really instructive (although often painful with Inform 6). For the curious, it meant implementing (amongst other) a lexer, a compiler, hash tables and a garbage collector, all in Inform 6.

Crafting Interpreters is a great book, and I really recommend it if you are curious about the inner working of compilers and interpreters.