Ahh yes, that would be the way you would go about it. However, I have not personally used the StringTemplate functionality so I cannot provide guidance there. I have copied antlr interest group again, so they may be able to help you.
On Sun, Apr 11, 2010 at 1:37 PM, Gouasmi Thouraya <[email protected]>wrote: > here, I want to make a translation between a language Z and a CSP-Z > language. what I understood that the Antlr can make that and I must enter > the grammar of language Z and must make the stringTemplate of CSP-Z. but I > didn't understand how I can make this translation. > pleases if you have an idea help me > please help me with give me some steps what I must following > > --- En date de : *Dim 11.4.10, Cliff Hudson <[email protected]>* a > écrit : > > > De: Cliff Hudson <[email protected]> > Objet: Re: [antlr-interest] ANTLRWork or ANTLR > À: "Gouasmi Thouraya" <[email protected]> > Date: Dimanche 11 avril 2010, 22h25 > > > To be clear, you want to make ANTLR produce code for a new language, other > than one of the many it supports? Which language do you wish it to support? > > I am not familiar with how to add additional language support to ANTLR. I > am more familiar with writing grammars. > > On Sun, Apr 11, 2010 at 1:22 PM, Gouasmi Thouraya > <[email protected]<http://mc/[email protected]> > > wrote: > >> thank you for your answer, >> therefore, I want to add another language (another one that java, cpp, >> JavaScript,..), I know that I must add an directory as describ in the >> link"How build a antlr code generation target" but I don't know how I must >> execute and if I enter one grammar and I ask for an output with this new >> language, I get it. >> please help me >> >> --- En date de : *Dim 11.4.10, Cliff Hudson >> <[email protected]<http://mc/[email protected]> >> >* a écrit : >> >> >> De: Cliff Hudson >> <[email protected]<http://mc/[email protected]> >> > >> Objet: Re: [antlr-interest] ANTLRWork or ANTLR >> À: "Gouasmi Thouraya" >> <[email protected]<http://mc/[email protected]> >> > >> Date: Dimanche 11 avril 2010, 22h07 >> >> >> ANTLRWorks is merely a GUI interface you can use to develop and debug your >> grammars. The distribution includes ANTLR itself, but is not a necessary >> component. >> >> On Sun, Apr 11, 2010 at 12:24 PM, Gouasmi Thouraya >> <[email protected]<http://mc/[email protected]> >> > wrote: >> >>> I must make the translate a language to another, it is sufficient to >>> install the ANTLRWork or another version of ANTLR. >>> - if I use ANTLRWork, how can I added another language( another that >>> predifined). >>> - if I use another ANTLR version, how can I use it after installing >>> >>> >>> >>> >>> 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 -- 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.
