[z-machine] Small contribution to the ZMachine specs
Chris Pickett
chris.pickett at mail.mcgill.ca
Sun Mar 26 20:47:40 BST 2006
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/
More information about the Z-machine
mailing list