[antlr-interest] antlrworks - has it an internal antlr inside?

Sidra Khalid sidraakhalid at gmail.com
Tue Jun 12 22:13:44 PDT 2012


Uwe ,

Yes, AntlrWorks has antlr inside, the version of antlr dependent  upon
which version of antlrworks you are using. For example , AntlrWorks 1.4.3
has built-in Antlr 3.4 and StringTemplate 3.2.1 and 4.0.4. You can see the
version details in help menu of antlr works.

The first question is which version of antlr you are using  from the
command line and what is the version of AntlrWorks you are using.

So read choose the AntlrWorks carefully.


Thanks,
Sidra


On Wed, Jun 13, 2012 at 2:09 AM, Uwe Gebhardt <gebhardt-u at gmx.de> wrote:

> Hi,
>
> I am trying to add a new target language to antlr and follow the steps
> outlined in the wiki.
>
> http://www.antlr.org/wiki/display/ANTLR3/How+to+build+an+ANTLR+code+generation+target
>
> The wiki suggests to modify the new language template in place.
>
> I have installed antlr, have created the folder sructure and a *.st g file.
>
> If I call antlr from the command line for a simple grammar, I see, that
> the new language gets
> recognized,  and that modifications on the target language template have
> an effect.
>
> I also use antlrworks, which makes the stringtemplate easier to understand.
>
> But when I try to use the "Generate Code" option in antlrworks for the
> test grammar, I get error
> messages, saying, that the new language file is not found.
>
> My question is: Has antlrworks an antlr inside, i.e. the antlr I am
> calling from the command
> line is different antlr, than the   one antlrworks is using internally?
>
> With kind regards
> Uwe Gebhardt
>
>
>
> 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