antlr
Antlr backtrack option not working
I am not sure but I think the Antlr backtrack option is not working properly or something... Here is my grammar:[详细]
2023-03-27 07:34 分类:问答Error when compiling with ANTLR in Visual C# Express 2010
I\'m trying to build an application in C# that parses (using ANTLR) a C source file and returns me an AST with all the functions and stuff.[详细]
2023-03-27 06:27 分类:问答How do I distinguish a very keyword-like token from a keyword using ANTLR?
I am having trouble distinguishing a keyword from a non-keyword when a grammar allows the non-keyword to have a similar \"look\" to the keyword.[详细]
2023-03-24 22:25 分类:问答What parser do JRuby and Jython use for generating JVM bytecode?
Do you guys know what parser JRuby and Jython use for开发者_JAVA技巧 generating JVM bytecode? Is it ANTLR or JavaCC or are they using some other parser in their implementation?JRuby seems to be answer[详细]
2023-03-24 00:02 分类:问答Parse sentences with different word types
I\'m looking for a grammar for analyzing two type of sentences, that means words separated by white spaces:[详细]
2023-03-23 22:52 分类:问答Nested brackets/chars '(' and ')' in grammar/ANTLRWorks warning: Decision can match input such as ... using multiple alternatives
The grammar below parses ( left part = right part # comment ), # comment is optional. Two questions: Sometimes warning (ANTLRWorks 1.4.2):[详细]
2023-03-23 22:49 分类:问答ANTLR - identifier with whitespace
i want identifiers that can contain whitespace. grammar WhitespaceInSymbols; premise :( options {greedy=false;} : \'IF\' )id=ID{[详细]
2023-03-23 13:41 分类:问答Why does my ANTLR build Ant task fail with "Unable to determine generated class"?
I\'m trying to use ANTLR3 task for Ant, but I get an \"Unable to determine generated class\" build failure message.[详细]
2023-03-23 12:21 分类:问答Java-based interpreter for JavaScript
As a project in school i have to make a JavaScript interpreter. (Everything incl. the entire backend has to be made by me).[详细]
2023-03-23 03:16 分类:问答How to change token type in parser rule in ANTLR using CSharp3 language
I am using ANTLR 3.3 with langage CSharp3. In my token types, I have a tokens called WORD, UTTAR, PRADESH, UPABBR among others. I also have a rule as follows[详细]
2023-03-22 23:51 分类:问答