On 8/30/11 4:17 PM, "Ruslan Zasukhin"
wrote:
>
> 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)
> {
>
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 lin
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_trXwRE&feature=player_embedded
Before I went my thinking was that this could probably be knocked up
in AN
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 comme
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, an
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: '0'
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,
(ANTLR3_UINT32)strlen
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:
- usin
On 6/24/11 7:49 PM, "Jim Idle" 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 after this your lette