Hard SmaCC question
Russell Penney
russell.penney at tincanct.com
Sat Nov 27 04:55:04 UTC 2004
Or maybe it's easy and I am just stupid ;)
How would I go about parsing variable length data in SmaCC where the length
of data to be read is specified by another part of data?
i.e. "5Hello" where Smacc would read 5 as a number and then read X (with X =
5) characters.
BTW please don't tell me there are other ways to do this; I want to see if I
can do it in SmaCC ;) (I am learning about parsing)
Thanks
Russell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20041127/78e40de7/attachment.htm
More information about the Squeak-dev
mailing list
|