[antlr-interest] Can subrules be set to 'n-to-m'?
mail at martin-probst.com
Fri Mar 25 13:30:18 PST 2005
Am Freitag, den 25.03.2005, 09:13 -0800 schrieb John D. Mitchell:
> > (...)[n,m]
> Yes, I agree that it use the square brackets (ala math notation):
> with the ,m part optional.
Uh, better make only the "m" optional, e.g.
Otherwise it might be mistaken as "exactly n times". Maybe this should
indeed be the case for (...)+[n]. Also (...)[1,] looks at least
understandable for me - maybe as an alias for (...)+.
More information about the antlr-interest