I've tried your code with simple grammar. It's exactly what I need. Thank you
On Mon, Jun 29, 2009 at 9:38 AM, Elnur Cabarov <[email protected]> wrote: > Thanks a lot to you all. I didn't expect so much help :) > > Normally end-users wouldn't be writing grammars -- grammar writing >> is a complicated business. :) >> > > You're right, normally the won't, but they will be able if want to add > extra functionality :) > In fact the program is intented for advanced users, such as developers and > architects > > It'll take me some time to try out your solutions > > Thanks again > > > On Mon, Jun 29, 2009 at 12:53 AM, Sam Harwell <[email protected] > > wrote: > >> http://www.pixelminegames.com/downloads/nFringe/ANTLR-3.1-2009-06-28.7z >> >> Note that the templates are "loose" on the file system, so you can >> update them without recompiling if you wish. >> >> Sam >> >> -----Original Message----- >> From: [email protected] >> [mailto:[email protected]] On Behalf Of Sam Harwell >> Sent: Saturday, June 27, 2009 8:26 PM >> To: Gavin Lambert; Elnur Cabarov; [email protected] >> Subject: Re: [antlr-interest] Using ANTLR without Java >> >> I don't have a packaged release available, but the source in my branch >> is completely up-to-date with the Java branch. :) I could package a >> build tonight or tomorrow and host it on one of my servers if someone is >> interested in it. It's self-contained (doesn't require any earlier >> version of ANTLR or Java) as well since I ported all of its grammars to >> v3 in the process. >> >> Sam >> >> -----Original Message----- >> From: [email protected] >> [mailto:[email protected]] On Behalf Of Gavin Lambert >> Sent: Saturday, June 27, 2009 9:22 AM >> To: Elnur Cabarov; [email protected] >> Subject: Re: [antlr-interest] Using ANTLR without Java >> >> At 17:48 27/06/2009, Elnur Cabarov wrote: >> >I'm writing an application in C# and want to use ANTLR in it >> >(i.e. user should be able to write own grammars or change >> >existing ones, compile and run them dynamically) >> > >> >But I don't want end-users need both .Net framework and Java. Is >> >there any way to use ANTLR without Java? I don't mean using C# as >> >a target language. I mean dynamically compiling grammars and >> >running them without Java >> >> Normally end-users wouldn't be writing grammars -- grammar writing >> is a complicated business. :) >> >> For the common case, where you define a DSL or full language and >> the end-user simply composes programs (or other data) using that >> language, then Java is not needed by the end-user at all. Neither >> the generated C# code nor the C# runtime require Java. >> >> If you really are trying to let end-users compile grammars, and >> want a native solution, then you'll probably have to wait a >> while. IIRC Sam Harwell (the C# target maintainer) has done some >> work towards porting the whole of ANTLR (including the compiler) >> to C#. But it's still all pre-release. >> >> >> List: http://www.antlr.org/mailman/listinfo/antlr-interest >> Unsubscribe: >> http://www.antlr.org/mailman/options/antlr-interest/your-email-address >> >> List: http://www.antlr.org/mailman/listinfo/antlr-interest >> Unsubscribe: >> http://www.antlr.org/mailman/options/antlr-interest/your-email-address >> > > > > -- > Elnur Cabarov > -- Elnur Cabarov --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
