Thu Feb 15 13:13:17 GMT 2007
parse extensions (borked)
and hupsakee, i'm writing a parser state machine again!
amazing what a not-so-good night's sleep does.. let's do this a bit
more intelligent using my favourite one-size-fits-all hammer pattern
seriously, the syntax is really simple, so i shouldn't be writing a
state machine, just a set of match rules.
one thing though. how to extend it? previous brood needed parse words
to be written explicitly. i should do that now too.. just a dictionary
of parse words, that output a chunk of cat code and the remainder of
the input stream.