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 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
