From: Joel VanderWerf Date: 2008-02-04T14:52:06+09:00 Subject: Re: [QUIZ] Parsing JSON (#155) Clifford Heath wrote: > Your example parsers are much harder to read than Treetop however, > compare: > space = Grammar::Element[Set[?\ ,?\t].duck!(:==,:include?)].discard Surely you can sugar that up a bit, something like space = Grammar.charset(" \t").discard > with > skip space > [ \t] > end -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407