[Mono-list] ANTLR and mono

Kunle Odutola kunle.odutola@virgin.net
Sun, 16 Feb 2003 21:06:04 -0000


To add to Paolo's experiences with ANTLR and Mono:
	http://groups.yahoo.com/group/antlr-interest/message/7468

Cheers,

Kunle
www.antlr.org

> -----Original Message-----
> From: mono-list-admin@lists.ximian.com
> [mailto:mono-list-admin@lists.ximian.com]On Behalf Of Paolo Molaro
> Sent: 15 February 2003 11:56
> To: mono-list@ximian.com
> Subject: Re: [Mono-list] ANTLR and mono
>
>
> On 02/14/03 Jorge Garcia Oncins wrote:
> > the last version of ANTLR parser generator includes C# code generation.
> > I'm trying to get it working on Linux and mono  but I can't.  Does
> > someone has achieved this? How?
>
> Can you be more specific? Do you get errors compiling it, running it,
> using the grammar or what else?
>
> I just compiled the C# runtime in the lib/csharp/src/ directory with:
>
> mcs /r:System.Drawing /r:System.Windows.Forms /target:library
> /out:antlr.dll *.cs */*.cs
>
> I copied the antlr.dll file to the examples/csharp/HTML directory.
>
> I generated the parser sources with the java tool (looks like there is
> no tool in C# to do that?) and then compiled with:
>
> mcs Main.cs HTML*.cs /r:antlr
>
> Running mono Main.exe < test.html gives no errors as expected,
> while doing mono Main.exe < HTML.build (a nant build file)
> spewes lots of erros, so it seems ANTLR is happy with mono,
> it may just need the makefile-fu to build the C# stuff with mcs.
>
> lupus
>
> --
> -----------------------------------------------------------------
> lupus@debian.org                                     debian/rules
> lupus@ximian.com                             Monkeys do it better
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>