On May 16, 2008, at 3:23 AM, Johannes Luber wrote: >> [switching to dev] >> >> On May 15, 2008, at 3:42 PM, Johannes Luber wrote: >> >>> Hi! >>> >>> Thinking about the "first comes first"-rule precendence in >>> inheriting the grammars, I came up with a case that doesn't seem to >>> be supported. If grammar A defines the rules r and s, as does >>> grammar B, then the rules in B are ignored. What if you want only >>> the rule s in B instead of s in A taking precedence? Switching the >>> grammars around doesn't help. >> >> would have to split delegate grammars. > > What about the case that you take the grammars from two different > people? asking them to split their grammars regarding one's own > conveniences won't be done. If one does split the grammars yourself > then you have to repeat the step for every update again. I suppose > it is simpler to be able to specify overrides explicitly - even if > the root grammar simply specifies:
With my new gderive/gsync thingAs described in my keynote presentation on reason grammars, you should be able to take the pieces you need and then compose them. > Found the bug report. Still, setText isn't as convenient as the "!" > syntax. correct. I will think about how I can add ! Ter _______________________________________________ antlr-dev mailing list [email protected] http://www.antlr.org:8080/mailman/listinfo/antlr-dev
