On Fri, 13 Apr 2001, Eric Liao wrote: > >Yeah, its great. Do you know if it is general (ie. you can apply operators > >(?/+/*) to sequences of symbols and nest them or if they only applies to > >individual symbols? (rockit has the latter but not the former) > > Generally speaking, the repetition modifiers ? + * should be able to > apply to a group of symbols and rules in parentheses (ANTLR grammar > and Perl's parse::recDescent both allow this). This is a very > important feature to have to make grammars possible to write. Without > it, you'll have to add *a lot* of intermediate rules to compensate for > the lack of this feature. > I agree. The reasons its not in rockit is: 1, lazyness ;-) 2, I'm not sure it doesn't mess up the AST name specifying. However, there are probably solutions to this so shouldn't stop me. Probably be in there... Regards, Robert