cost 117 ms
ANTLR 2 Solving keywords issue

I have a rule which expects a STRING from the user. Currently when the user gives a keyword that I have defined in my grammar, parser gives a segmenta ...

How to commit to antlr v2?

For a personal project I had to use ANTLR v2 ... and seeing its output I decided to do some code smell removing in the source. But now I just don't f ...

2014-06-01 06:53:06   1   70    antlr / antlr2  
ANTLRWorks Debugger

I have a small code for which I want to see the AST in ANTLRWorks. In the preferences, I have chosen the compiler as 'com.sun.tools.javac' and the deb ...

antlr 2 rule ambiguity

DECIMAL_LITERAL match int literal in c language and FLOATING_POINT_LITERAL match float literal in c language.But when the lexer meet a float ,such a ...

2012-06-13 08:31:21   1   64    antlr2  
antlr2 return multiple values

How to make a rule return multiple values in antlr2.For example: I have some other information besides 'mods' to return.What should I do? ...

2011-12-13 15:06:02   2   182    antlr / antlr2  

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM