[antlr-interest] ANTLRWork or ANTLR

Cliff Hudson cliff.s.hudson at gmail.com
Sun Apr 11 16:07:44 PDT 2010


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 <gthouraya at yahoo.fr>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 <cliff.s.hudson at gmail.com>* a
> écrit :
>
>
> De: Cliff Hudson <cliff.s.hudson at gmail.com>
> Objet: Re: [antlr-interest] ANTLRWork or ANTLR
> À: "Gouasmi Thouraya" <gthouraya at yahoo.fr>
> 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 <gthouraya at yahoo.fr<http://mc/compose?to=gthouraya@yahoo.fr>
> > 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 <cliff.s.hudson at gmail.com<http://mc/compose?to=cliff.s.hudson@gmail.com>
>> >* a écrit :
>>
>>
>> De: Cliff Hudson <cliff.s.hudson at gmail.com<http://mc/compose?to=cliff.s.hudson@gmail.com>
>> >
>> Objet: Re: [antlr-interest] ANTLRWork or ANTLR
>> À: "Gouasmi Thouraya" <gthouraya at yahoo.fr<http://mc/compose?to=gthouraya@yahoo.fr>
>> >
>> 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 <gthouraya at yahoo.fr<http://mc/compose?to=gthouraya@yahoo.fr>
>> > 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
>>>
>>
>>
>>
>
>


More information about the antlr-interest mailing list