Hi,
Are there any differences or known issues with the CSharp2 target that cause
it to behave differently to the "equivalent" Java target generated lexer and
parser?
I'm asking because my grammar, which works on 105 of 105 test cases when I
use the Java target, fails on 6 of 105 test cases when I use the CSharp2 target.
I'm not using actions or anything target language-specific.
Using AntlrWorks' integrated and remote debuggers and my limited knowledge,
I've got one lead right now: I've noticed that the Java version logs LT(1)
events for each token, so that as the parser pulls tokens from an input stream:
A B C
I see LT(1) 'A' then LT(1) 'B' then LT(1) 'C'. That seems right to me.
But when the problematic test cases are parsed in the CSharp2 target, I see
LT(1) 'A' and then for some reason the next LT(1) sees 'C', not 'B'. This seems
wrong.
I'm new to Antlr - does this point to an issue with the generated lexer or
the parser? What's next troubleshooting step would you suggest?
Happy to respond with specifics of the grammar and the error messages if you
think they'd be useful.
Thanks in advance,
Andrew
_________________________________________________________________
View photos of singles in your area Click Here
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fdating%2Eninemsn%2Ecom%2Eau%2Fsearch%2Fsearch%2Easpx%3Fexec%3Dgo%26tp%3Dq%26gc%3D2%26tr%3D1%26lage%3D18%26uage%3D55%26cl%3D14%26sl%3D0%26dist%3D50%26po%3D1%26do%3D2%26trackingid%3D1046138%26r2s%3D1&_t=773166090&_r=Hotmail_Endtext&_m=EXT
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address