Licheng Fang wrote:

The idea is like this:
> 
> (*INT) = \d+
> (*DECIMAL) = (*INT)\.(*INT)
> (*FACTION) = (*DECIMAL)/(*DECIMAL)
> (*NUMERALS) = (*FACTION)|(*DECIMAL)|(*INT)
> ... ...
> 
> What's inside the sytactically wrong (* and ) is something to be
> replaced, and then I wrote a little script to do the string
> substitution

what's hiding under those ellipses?  things like "TERM" and "FACTOR" and 
"EXPRESSION", perhaps?

</F>

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to