[antlr-interest] Bytes Limit
marcelo.nichele at gmail.com
Thu Oct 22 22:09:49 PDT 2009
I managed to reduce the size of the code a little. But, in the future
whether I want to create more rules, I'll have problems again.
Thanks for help,
On Fri, Oct 23, 2009 at 2:39 AM, Marcelo Nichele
<marcelo.nichele at gmail.com>wrote:
> I'm using some lexer rules such like 'aaaa', 'bbb', ... Then, the code
> generated become too big. So, I reduced some lexer rules and I moved them to
> grammar rules.
> TAG_START_OPEN 'link' attrUriId='uri' ATTR_EQ attrValueUri=ATTR_VALUE
> ((attrRoleId='role' ATTR_EQ attrValueRole=ATTR_VALUE) | (attrStartId='start'
> ATTR_EQ attrValueStart=ATTR_VALUE)|(attrEndId='end' ATTR_EQ
> attrValueEnd=ATTR_VALUE))* TAG_EMPTY_CLOSE
> Does anyone have any tips?
> Thanks for help,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the antlr-interest