at:
http://www.antlr.org/wiki/display/ANTLR3/Custom+Syntax+Error+Recovery
as it may help. This is also useful for the other person asking about AST
construction on errors, though in the end that probably comes down to custom
coding.
Jim
-Original Message-
From: Mari Matinlassi
-interest-
boun...@antlr.org] On Behalf Of Ian Kaplan
Sent: Wednesday, November 09, 2011 9:09 AM
To: Mari Matinlassi
Cc: antlr-interest@antlr.org
Subject: Re: [antlr-interest] Fundamental question
There is nothing wrong as far as the syntax goes with this. There
could, for example
Hans-Georg,
A very relevant problem.
ANTLR collapses my AST completely to a single error token if some kinds of
mismatches happen.
I would also like to know if a solution is found..
-mari
-Original Message-
From: antlr-interest-boun...@antlr.org
Hi,
There is something fundamental and important that I have not understood with
ANTLR grammars.
If I need to parse something like...
int test;
strig another;
int variable;
string here;
You notice there is a typing error on the second line ('strig' instead of
Hi,
I am answering here on my own question :)
I had tree parser option
filter = true
Removed that and works fine now..
Mari
-Original Message-
From: antlr-interest-boun...@antlr.org
[mailto:antlr-interest-boun...@antlr.org] On Behalf Of Mari Matinlassi
Sent: Friday, November 04
Hi,
I am making a tree parser with custom nodes (C# target).
I get error message The non-generic type 'Antlr.Runtime.Tree.TreeRewriter'
cannot be used with type arguments.
That error is in Antlr generated tree parser class. I copy the code snippet
below.
public partial class
Hi,
I am doing a grammar for C sharp target. I have following problem, I need
help with…
When parser input contains unexpected character, let´s say ‘*’ or ‘’ that
is not defined in any lexer/parser rule or token, happens the following:
1. RecognitionException (subtype
Ok. In a separate email.
Mari
-Original Message-
From: Sam Harwell [mailto:sharw...@pixelminegames.com]
Sent: Wednesday, September 28, 2011 6:17 PM
To: 'Mari Matinlassi'; antlr-interest@antlr.org
Subject: RE: [antlr-interest] Csharp target, Recover(input, e)
I've never seen this occur
...@gmail.com]
Sent: Sunday, September 25, 2011 3:32 PM
To: Mari Matinlassi
Cc: antlr-interest@antlr.org
Subject: Re: [antlr-interest] Custom object tree from tree parser?
Mari,
Did you ever get an answer to this? I agree a pointer or example on this
would be extremely helpful. I will be doing
Hello,
I want to build custom object trees from text. As a simplified example,
parser input is
Car Seat;
Car Audi;
Customer John;
Parser output shall be an object tree where e.g. Car object is an
instantiation of a class below (Respectively, Customer class would be
something similar):
public
:-)
Laters,
Mari
-Original Message-
From: Sam Harwell [mailto:sharw...@pixelminegames.com]
Sent: Tuesday, August 09, 2011 4:18 PM
To: 'Mari Matinlassi'; antlr-interest@antlr.org
Subject: RE: [antlr-interest] Problem when generating ANTLRv3.g for C Sharp
target?
Hi Mari,
I've never used
Dear fellows,
Our research project wants to create meta-language for defining domain
specific languages. And, we have chosen to take ANTLR as a tool and
ANTLRv3.g as a starting point for our meta-language.
Therefore, I want to generate ANTLRv3Parser.cs and ANTLRv3Lexer.cs and build
them in
12 matches
Mail list logo