[antlr-interest] StringTemplate is Ok, but what about "Action code"?
Harald Mueller
harald_m_mueller at gmx.de
Wed Nov 28 07:15:41 PST 2007
Hi -
Why would you want to do this?? - whatever you do in actions, you need to express some sort of "algorithm." I do not see another possibility than to have SOME language that will express what you need. Java is perfect: It will decouple you (they say) from any plat form specifics, because you write it once, and it runs everywhere ;-)
If you do not believe this, you must invest in your own infrastructure for this: Define a language (generic bytecode? Turing machine statements ;-) ?) and deliver in-process compilers which will transform your selected language to something running on the target system.
Not even low coupling with the target language is a worthwhile consideration most times, isn't it? - except for meta-tools like e.g. ANTLR itself.
Regards
Harald M.
-------- Original-Nachricht --------
> Datum: Tue, 27 Nov 2007 16:35:38 +0100
> Von: Cristian Peraferrer <corellian.c at gmail.com>
> An: antlr-interest at antlr.org
> Betreff: [antlr-interest] StringTemplate is Ok, but what about "Action code"?
> Hi,
>
> With StringTemplate we can achieve low coupling with the target
> language. But what about Action code?
> How we should achieve low coupling with the target language?
>
> Thanks in advance,
> Cristian.
>
> --
> GPG Key-ID: 0x564903FA - Jabber ID: corellian at swissjabber.ch
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
More information about the antlr-interest
mailing list