[il-antlr-interest: 28230] Re: [antlr-interest] Cannot explain "no viable alternative at input" - antlr 3.0.1

2010-03-10 Thread John B. Brodie
Greetings! On Thu, 2010-03-11 at 14:01 +1100, J. Matthew Pryor wrote: > I am a total ANTLR newbie, Welcome to the crowd! ...stuff snipped... > so when I give it the input > > true && true > > despite the fact that I get the following consle messages > > line 1:5 no viable alternative at inpu

[il-antlr-interest: 28229] [antlr-interest] Cannot explain "no viable alternative at input" - antlr 3.0.1

2010-03-10 Thread J. Matthew Pryor
I am a total ANTLR newbie, and have read quite a bit, but am a bit flumoxed by the results I am getting with my antlr grammar My grammar is heavily based on the expression parser example. I am confused by some console output I am seeing of the form: line 1:5 no viable alternative at input '&&'

[il-antlr-interest: 28228] Re: [antlr-interest] Using previously matched parser rule in decision making

2010-03-10 Thread Gokulakannan Somasundaram
Oh! Sorry! i wrote it wrongly. I meant a set of actions, which will get executed during look aheads in semantic predicates and syntactic predicates. But Jim, i am not able to understand you. Jim :Can’t rollback as it isn’t a database and track state isn’t really the right thing to be doing here W