On Mon, Oct 24, 2011 at 10:26 AM, Patrick Ericx patrick.er...@gmail.comwrote:
...
PS: is that mailing list available online? how can I access it ? receiving
all these mails in my mailbox becomes a little overhead for me.
Yes, here it is: http://antlr.markmail.org
Regards,
Bart.
List:
Hi all,
As I understand it, ANTLR's lexer matches rules from top to bottom in the .g
grammar file and when two rules match the same number of characters, the one
that is defined first has precedence over the later one(s).
However, take the following grammar:
grammar T;
@lexer::members {
Hi list,
I successfully compiled the C runtime for ANTLR with VS 2010.
Now I want to compile the generated code (Lexer and Parser) with this
command:
g++ -Iantlrinclude -static -L. -lantlr3c RtfLexer.c RtfParser.c
as you may notice, antlr.h and all includefiles are in antlrinclude and
the
Hi,
I am running antlr-3.4
and antlrworks-1.3.4
under ubuntu 10.04 64bits but also 32bits on a different computer.
I made also experiments under windows 7 (64 bits) (dual boot)
It sends an operation in progress window when selecting a DFA (after
highlighting DFA tag on)
and calling show
Hi folks,
When feeding ANTLR 3.4 with my Java grammars it doesn't generate valid
Java sources (26 compiler errors) - with v3.3 everything is okay.
Here's a snipped of the grammar that raises one of the problems:
statement
: block
| assertStatement
| ifStatement
|
parse:IF* EOF;
Jim
-Original Message-
From: antlr-interest-boun...@antlr.org [mailto:antlr-interest-
boun...@antlr.org] On Behalf Of Bood Qian
Sent: Monday, October 24, 2011 1:29 AM
To: antlr-interest@antlr.org
Subject: [antlr-interest] False error 208?
I don't
Hi again,
this seems to be a problem with Windows (still the same error), but I
tried the same under Linux and everything went fine. Compiled with
./configure, then make make install. After that:
g++ -I/usr/local/include -shared -oRtfToolkit.lib -static
-L/usr/local/lib -lantlr3c RtfLexer.c
You need to send the output of the library build and your session. Here
you say you are building with VS2010 and trying to compile with GNU C++,
which makes no sense. What operating system? What compiler? Which version
of ANTLR?
Jim
-Original Message-
From:
I compile under Windows with VS2010:
U:\libantlr3c-3.4-beta4DEVENV C.sln /Build Release
Microsoft (R) Visual Studio Version 10.0.30319.1.
Copyright (C) Microsoft Corp. Alle Rechte vorbehalten.
1-- Erstellen gestartet: Projekt: C, Konfiguration: Release Win32
--
1Der Buildvorgang wurde am
Oh – I did not see it was a lexer error.
Reorder the rules:
IF :'if';
ID :('A'..'Z'|'a'..'z')+;
RAW:({rawAhead()}?= . )+;
However IF and ID will always be produced like this. If they should not be,
then you want:
IF :{!rawAhead()}?='if';
ID :
On Mon, Oct 24, 2011 at 5:26 PM, Jim Idle j...@temporal-wave.com wrote:
Oh – I did not see it was a lexer error.
Reorder the rules:
IF :'if';
ID :('A'..'Z'|'a'..'z')+;
RAW:({rawAhead()}?= . )+;
Yeah, that is what I thought as well, but the above will cause
On Mon, Oct 24, 2011 at 5:33 PM, Bart Kiers bki...@gmail.com wrote:
... where I (and Boon) ...
Sorry, Bood, not Boon...
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--
You received this
Hello Jim,
Look at the interface for CommonToken you can see that there is the
ability to get the line number (it assumes \n is the delimiter unless you
change that.
yep, there is an ANTLR3_COMMON_TOKEN_struct. But I need additional infos -
e. g. where is that struct populated the first time.
On Mon, Oct 24, 2011 at 10:41 AM, Dieter Habelitz
dieter.habel...@habelitz.com wrote:
Hi folks,
When feeding ANTLR 3.4 with my Java grammars it doesn't generate valid
Java sources (26 compiler errors) - with v3.3 everything is okay.
Here's a snipped of the grammar that raises one of the
Hi,
I'm working on a grammar and I can't figure out how to refactor it without
using semantic predicates. Essentially, what I'm trying to do with RAW_TEXT is
a catch all if none of the tags match, the only way I could make it work was by
using Semantic Predicates, does anyone have ideas? Thanks
I just sent Terence 3 examples from his book, converted to the C# target. If
you’d like, I can send you the same zip file
- Andy
From: 李志鹏 [mailto:lizhip...@gmail.com]
Sent: Saturday, October 22, 2011 9:53 AM
To: Terence Parr
Cc: Voelkel, Andy; antlr-interest Interest
Subject: Re:
Ter is aware of it but is holding off on fixing the bugs for org.antlr.Tool
3.4.
Is there any timeline on when will be the next release. I will be eager to
try it out as we want to upgrade, which we can't because of the issue I
reported on a different thread.
On Mon, Oct 24, 2011 at 12:24, Eric
Hey guys,
I have a quick question.
memberReference
: (start='this' | start='parent') ('.' member+=(methodCall |
Identifier))*
;
I have this simplified rule above and I want to save all methodCalls and
Identifiers into $members.
This doesn't seem to work since methodCall is a rule
18 matches
Mail list logo