[il-antlr-interest: 29000] [antlr-interest] Error in AST

2010-05-26 Thread Nourchn Nor
I wrote one grammar on AntlrWorks but one error is shown when I add same statement, Here is the error: error(211): Essai.g:87:16: [fatal] rule predicate has non-LL(*) decision due to recursive rule invocations reachable from alts 5,6. Resolve by left-factoring or using syntactic predicates or

[il-antlr-interest: 28857] [antlr-interest] Some error in debug

2010-05-17 Thread Nourchn Nor
Please I have some problem during debug of Tree Walker of an grammar. 1st, In the tree Parser I meet about errors and the example cannot be all to Tree and here is the error org.antlr.runtime.EarlyExitException 2eme, In the part output of debugger, I meet this error 1:24 no viable alternative at

[il-antlr-interest: 28649] [antlr-interest] problem in translation with tree walker

2010-04-29 Thread Nourchn Nor
Hello everybody, I want to make a translation between two languages A and B and I choose to use the ANTLRWork, I'm writing a grammar of A and the string template of B, and I am spirit of writing the tree walker of translation with the template which I have defines in the string template, but