Hi,
I have a problem that if input token did not match correct token, but it did
not throw a exception?
If throw a exception, i can trap it in "rulecatch" code segment, but if
there is no exception throw, how can i got the error information which
output in console? can i write a "finally" segment
Yes, some very interesting info,
Thank you kindly.
Waverly
-Original Message-
From: antlr-interest-boun...@antlr.org
[mailto:antlr-interest-boun...@antlr.org] On Behalf Of The Researcher
Sent: Monday, June 13, 2011 12:29 PM
To: antlr-interest@antlr.org
Subject: Re: [antlr-interest] obj
I'll start looking in depth tomorrow.
Thank you for your help,
Waverly
-Original Message-
From: Mark Wright [mailto:markwri...@internode.on.net]
Sent: Monday, June 13, 2011 10:34 AM
To: Edwards, Waverly; antlr
Subject: Re: [antlr-interest] object oriented compiler implementation
>>
Another place worth searching is http://lambda-the-ultimate.org/
Searching for "design" turns up some interesting info.
Eric
List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org/mailman/options/antlr-interest/your-email-address
--
You received this mess
On Fri, 10 Jun 2011 17:43:49 -0500, "Edwards, Waverly"
wrote:
> This is not directly ANTLR related but have any of you come across a guide,
> tutorial or book (preferably) for implementing an compiler for an object
> oriented language. I don't mean the compiler is created using an object
> orien
I'll start looking for it. I haven't been able to find a preview for it. One
of the best things Amazon did is enable previews on books. It makes life so
much easier. I also looked for it on Google Books. I haven't found it yet but
someone has a preview.
Thanks a bunch,
Waverly
-Or
I will look into it right away.
Thank you,
Waverly
-Original Message-
From: antlr-interest-boun...@antlr.org
[mailto:antlr-interest-boun...@antlr.org] On Behalf Of Jean-Christophe Le Lann
Sent: Sunday, June 12, 2011 8:36 AM
To: antlr-interest@antlr.org
Subject: Re: [antlr-interest] o
I've been having a hard time distinguishing what should be part of the runtime
and what it solely part of the language.
Because that is all that I've been taught, I've been working on what the
language should look and feel like. I haven't had to think about the runtime.
I'll sleep easier once
I thank you for anything that leaps :-)
Waverly
-Original Message-
From: antlr-interest-boun...@antlr.org
[mailto:antlr-interest-boun...@antlr.org] On Behalf Of Ron Burk
Sent: Friday, June 10, 2011 7:59 PM
To: Edwards, Waverly
Cc: antlr
Subject: Re: [antlr-interest] object oriented co
Folks,
Ought to be a pretty simple question. I have the following production in a
combined grammar with tree output
collection returns [CommonTree name]
@init {
List rest = new LinkedList();
}
: OPEN { $name = pushName(newName()); }
( term { rest.add($term.rest); })+
CLOSE { pop
10 matches
Mail list logo