[z-machine] Small contribution to the ZMachine specs
Johnny Billquist
bqt at update.uu.se
Mon Mar 27 00:39:45 BST 2006
Ben Collins-Sussman wrote:
> On 3/26/06, Johnny Billquist <bqt at update.uu.se> wrote:
>
>>Anyway, the Z-Machine spec is really more complete than given credit for
>>here. This specific question is dealt with in chapter 10.
>
> Ah! Thank you!
>
>>It's a grave mistake to try to write an interpreter from only reading
>>the spec of the opcodes.
>
> Actually, we've been doing nearly the opposite. We've read almost the
> entire spec... everything *but* the opcodes. We've been writing all
> sorts of subsystems (memory, zscii routines, op decoder, stack
> management, object parsing, dictionary parsing), with the thought that
> the opcodes would be implemented at the very end.
>
> The only parts of the spec we haven't read yet are the I/O streams and
> the opcodes. Apologies!
Well, in that case I should apologize as well, for making assumptions
here. :-)
Fun to see someone else doing this from scratch. Me, I wrote one in
PDP-11 machine language, just because I wanted one. Not much use of the
C implementations around. :-)
Johnny
--
Johnny Billquist || "I'm on a bus
|| on a psychedelic trip
email: bqt at update.uu.se || Reading murder books
pdp is alive! || tryin' to stay hip" - B. Idol
More information about the Z-machine
mailing list