[TransWarp] fmtparse - named rules
Oleg Broytmann
phd at work.phd.pp.ru
Mon Jun 16 12:29:56 EDT 2003
On Mon, Jun 16, 2003 at 08:19:10PM +0400, Oleg Broytmann wrote:
> {'between': {"name": "month", "value1": "1", "value2": "12"}}
I got it!
between_expr = Sequence(Named("cmp_func", ExtractString("between")),
'(', Field("name"), ',', Field("value1"), ',', Field("value2"), ')')
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ phd at phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.
More information about the PEAK
mailing list