Persistent representation of AST as implemented by ANTLR
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Kevin_Bates
Posted On:   Wednesday, October 10, 2001 12:57 PM

Is there a mechanism to genereate a persistent representation of the AST
I generate using the ANTLR parser? I would like to be able to construct a
new AST using an AST factory from the representation I generated from a previous
AST.

Re: Persistent representation of AST as implemented by ANTLR

Posted By:   Terence_Parr  
Posted On:   Wednesday, October 10, 2001 04:32 PM

Yep. There is a serialization protocol (XML) in BaseAST:




public void xmlSerializeNode(Writer out)


...
About | Sitemap | Contact