[antlr-interest] Stripping actions and tree commands out of a grammar

Ludwig Maes ludwig.maes at gmail.com
Fri Mar 30 13:40:21 PDT 2012


Could you give a more specific pointer where I can find out more about
the upcoming antlr 4.x?

On 30 March 2012 18:09, Kyle Ferrio <kferrio at gmail.com> wrote:
> I know you're asking about antlr3, and I see some answers.  This is just an
> FYI: You're going to love ANTLR 4.
>
> The new antlr empowers you to keep separate grammar from actions (and
> indeed keep separate grammar from target language).  Grammar reuse and
> retargeting are integral to v4.  It's really beautiful.  Ter has posted
> some examples and early access jars so that we can follow along at home.
>
> (Check out Ter's blog/wiki at antlr.org.)
>
> Kyle
>  On Mar 30, 2012 3:37 AM, "Nikolay Ognyanov" <
> nikolay.ognyanov at travelstoremaker.com> wrote:
>
>> Can somebody please advise whether there is a way/tool to automatically
>> strip out of an ANTLR grammar all actions and tree comands? A pure
>> grammar with these parts stripped is useful for documentation and
>> presentation purposes. It is my feeling too that it would be useful to
>> have a clear view of the uncluttered grammar during the process of
>> development of a new language.
>>
>> Thank you
>> Nikolay
>>
>> 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


More information about the antlr-interest mailing list