[z-machine] Small contribution to the ZMachine specs

Johnny Billquist bqt at update.uu.se
Mon Mar 27 00:21:46 BST 2006


I just replied as well, unfortunately just to the sender (I always seem 
to use the wrong button on this MUA).

Anyway, the Z-Machine spec is really more complete than given credit for 
here. This specific question is dealt with in chapter 10.

It's a grave mistake to try to write an interpreter from only reading 
the spec of the opcodes.

	Johnny

Chris Pickett wrote:
> Ben Collins-Sussman wrote:
> 
>>Pretty quiet list, eh?  Anyone awake?  :-)
>>
>>There are really quite a number of confusions that Dave and I are
>>running into as we read the spec.  I'd love to keep sending patches to
>>re-word things, etc.
> 
> 
> I'm going to answer just because nobody else has, not because I'm really 
> involved in Z-machine anything.
> 
> 
>>For example, I'm trying to understand how to do the lexical analysis
>>required by the 'read' opcode.  If I understand correctly, the user's
>>text is read into a text_buffer.  Is the user's text presumed to be
>>ascii data?  Unicode data?  Z-characters?
> 
> 
> Have you looked at frotz?  I suppose it can be considered as a kind of 
> reference implementation.  It sounds like you're trying a clean-room 
> approach though, so maybe you don't want to do that...
> 
> Cheers,
> --
> Chris Pickett
> http://www.sable.mcgill.ca/~cpicke/
> 
> _______________________________________________
> Z-machine mailing list
> Z-machine at feelies.org
> http://www.feelies.org/mailman/listinfo/z-machine

-- 
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