[antlr-interest] problem with parsing valid input

OJAY78 at gmx.de OJAY78 at gmx.de
Fri Oct 5 05:06:28 PDT 2007


Hi Austin,

thanks for your answer but I have now a few open questions :-)

As you can see in my grammar, my understanding was that I have to break the input code into a lot of tokens and that I can then use those tokens inside my parser grammar. But obviously this is a misunderstanding from my side. In my case it is better to make those descisions inside the parser grammer? But where do I have to do that because I als want that my functions can be combined with "and,xor,not,or" operator also the should be "(" and ")" allowed. Therefor I defined my parser grammer as you could saw in my last posting. Is this correct and where in my parsergrammer do I have to add my functions?

Thanks for you help
-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser


More information about the antlr-interest mailing list