[il-antlr-interest: 33832] Re: [antlr-interest] reuse() methos in 3.4 C runtime

2011-08-30 Thread Ruslan Zasukhin
On 6/24/11 7:49 PM, Jim Idle j...@temporal-wave.com wrote: Hi Jim, I do now third attempt switch from ANTLR2 to ANTLR3, And reuse is very important for us, because we do parse SQL strings in the DBMS servers ... I am very happy to read it should work now again in 3.4! But I have got question

[il-antlr-interest: 33834] Re: [antlr-interest] ANTLR IDE 2.1.2 is out! - Problem...

2011-08-30 Thread Udo Weik
Hello Edgar, A new version of ANTLR IDE is available for download. This version includes: * ANTLR 3.4 support * Eclipse Indigo support. yep, really a great tool. Many thanks for it.- I have the problem that no Java-files (lexer/parser) are created after saving a grammar: - using

[il-antlr-interest: 33836] [antlr-interest] [C] Crashes if NULL name in antlr3StringStreamNew()

2011-08-30 Thread Ruslan Zasukhin
If I call input = antlr3StringStreamNew( input_string, Encoding, input_len, NULL ); NULL is name of stream Then it crashes inside of newStr8(pANTLR3_STRING_FACTORY factory, pANTLR3_UINT8 ptr) { return factory-newPtr8(factory, ptr,

[il-antlr-interest: 33837] [antlr-interest] Multiple newlines question

2011-08-30 Thread Wujek Srujek
Hi. I am very new to parser generators, BNF grammars and stuff. I am reading The definitive ANTLR reference and try things out. Currently I have the following simple grammar: grammar Test; @header { package test; } @lexer::header { package test; } program: INT (NEWLINE+ INT)* EOF; INT:

[il-antlr-interest: 33841] [antlr-interest] [C target] bug in hidden syntactic predicates

2011-08-30 Thread Maximilien Colange
Hi, I've been using antlr for a few months in order to parse logical formulae, with the C target. I have a rule in a parser such as subformula: atom | term (x='and' term)+ - ^($x term+) | term ('or' term)+- ^('or' term+) | term ; As far as i have understood,

[il-antlr-interest: 33842] [antlr-interest] Is this a Maven related bug? syntax error @[1, 9] in ._Antlr3ErrorLog.java

2011-08-30 Thread The Researcher
Hi, This is my first time using Maven. My goal was to build the Tool because I needed to flip a debug flag in the analysis code. Yes, I know that I probably only need uber jar, but for first time I stuck to the instructions. I based this on the instructions in BUILD.txt. Yes I did read the

[il-antlr-interest: 33847] [antlr-interest] Rob Pike on writing a lexer in Go for a template language

2011-08-30 Thread Gary Miller
Hey All, Slightly off topic post, I thought there might be some interest. Last night I went to a talk by Rob Pike of Google, you can watch the talk at https://www.youtube.com/watch?v=HxaD_trXwREfeature=player_embedded Before I went my thinking was that this could probably be knocked up in

[il-antlr-interest: 33848] [antlr-interest] -debug option with C code

2011-08-30 Thread Ramanand
Hi I am using ANTLR v3.4 to generate a parser in C. The generated grammar compiles with no problems on my Linux machine with GCC. When I use the -debug option then ANTLR adds a whole bunch of location tracking information such as DBG-location(DBG, M, N). I am guessing that the M and N are