Re: [Pyparsing] Efficency of Keyword (and a couple other bits)
Brought to you by:
ptmcg
From: Eike W. <eik...@gm...> - 2007-03-19 22:44:53
|
Hello Corrin! On Monday 19 March 2007 21:06, Corrin Lakeland wrote: > So, any ideas or suggestions welcomed, especially with respect to > the Keyword issue. There is the 'Keyword' parser, it does probably what you want. Usage: mathFuncs = Keyword('sin') | Keyword('cos') | Keyword('tan') I use code similar to this in my toy language. Regards Eike. |