Zork lives!

Elian on 2001-05-19T17:28:38

Y'know, over in gnat's journal he talks about making a compiler back end that turns perl bytecode into z-machine code. That's interesting, but I'd bet there'd be lots of restrictions. :(

On the other hand....

We could write a compiler frontend that would turn z-machine code into perl bytecode for execution by the perl back end. That would be really keen, and we'd probably get a game engine that ran rather faster than the original. (Though since I started playing Infocom games on my old 1MHz Atari 800, you could almost go faster interpreting the z-code by hand :)

Or, for more fun, there's nothing to say you couldn't come up with an adventure language, write a front-end parser to turn out perl bytecode, then a back end to spit out z-machine code.

Imagine--a variant of perl 6 with absolutely no perl involved at all. That would be really cool. And twisted. (But I repeat myself)