[antlr-interest] FW: CSharp Target...
Johannes Luber
JALuber at gmx.de
Tue Jun 17 04:34:02 PDT 2008
> Johannes and Hamilton,
>
> Thanks for the help. Recompiling the runtime .net sources did get this
> working
All mentioned errors went away?
> (can't quite figure out how to rebuild the Java tool as ant
> produces a ton of errors when I try to build the build.xml).
Did you put antlr-2.7.7.jar and stringtemplate.jar into the lib directory of ANTLR?
Johannes
> Looking
> forward to getting into the fancier things, now the basic stuff is
> figured out.
>
> Kris
>
> -----Original Message-----
> From: Hamilton Link [mailto:helink at sandia.gov]
> Sent: Monday, June 16, 2008 8:22 AM
> To: Kris Erickson
> Cc: antlr-interest at antlr.org
> Subject: Re: [antlr-interest] FW: CSharp Target...
>
> In case you didn't see my thread from a little while back, I was having
> trouble with 3.1b1 until I rebuilt the java tool AND the .net assemblies
> it was generating code against (I am targeting CSharp2 and generating
> ASTs). I wasn't using the debug features, though. Personally I'd get a
> simple non-debug example working locally and then once you're sure your
> .net assemblies and grammar-generated code are valid and sufficient you
> can try fancier things.
>
> h
>
>
> Kris Erickson wrote:
> > First of all, let me state that Antlr appears to be an awesome tool.
> > AntlrWorks is amazing, being able to debug, combining the lexer and
> > parser, and having a parser for walking the trees. The Antlr book is
> > fantastic, the website is at time frustrating, but still and excellent
>
> > reference and the short period of time I have spent with the project
> > has made me start considering DSL's for all sorts of purposes.
> > However, trying to work in Csharp has been a bit of a nightmare.
> >
> > Initially I was trying to work in Antlr 3.1b1, but getting random
> > errors that simply did not occur when debugging the parser in Java (as
>
> > well as endless compile errors when even attempting to create a debug,
>
> > but compiling the "Simple tree-based interpreter" (the first one)
> > http://www.antlr.org/wiki/display/ANTLR3/Simple+tree-based+interpeter
> >
> > With the following changes:
> >
> > 4a5
> >
> >> language=CSharp2;
> >>
--
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/?mc=sv_ext_mf@gmx
More information about the antlr-interest
mailing list