On Wed, 2010-05-12 at 14:00 +0530, Bujji wrote:

> Hi all,
> Is there any support for scala in ANTLR..
> 
> i want to use scala as target language

I'm working on a language translation project using Scala. I use the
Java target of ANTLR and call into it from Scala code. It seems to work
fine.

In my case I run the AST produced by ANTLR through a method of my own
construction that converts it into an instance of a suitable case class.
I do this so I can use Scala pattern matching on the abstract syntax
tree. It's a bit of a pain and it would be nice if there was a real
Scala target for ANTLR, but what I'm doing is workable for me (so far
anyway!).

Peter



List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

-- 
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to