[antlr-interest] '.dot' files of rules' diagrams
Jean-Claude Durand
Jean-Claude.Durand at imag.fr
Wed Dec 8 07:04:34 PST 2010
Thanks, it works well for an AST, but my question was about the diagrams of a grammar's rules as we can see in ANTLRWORKS.
It would be nice to have such diagrams for documentation purposes.
JC.
Le 7 déc. 2010 à 19:19, Jim Idle a écrit :
> There is a method that does this for you on a tree. Look for the class
> DOTTreeGenerator in package org.antlr.runtime.tree
>
> Jim
>
>> -----Original Message-----
>> From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-
>> bounces at antlr.org] On Behalf Of Jean-Claude Durand
>> Sent: Tuesday, December 07, 2010 1:00 AM
>> To: antlr-interest at antlr.org
>> Subject: [antlr-interest] '.dot' files of rules' diagrams
>>
>> To achieve the documentation of my grammars, I would like to retrieve
>> the '.dot' files generated by ANTLRWorks for rules diagrams. Is it
>> possible ?
>>
>> Thanks a lot for your answer.
>>
>> Jean-Claude Durand
>>
>> LIG, équipe GETALP
>> 385, rue de la Bibliothèque
>> BP 53
>> 38041 Grenoble cedex 9
>> France
>>
>>
>> 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