Re: Re: software design clarification
Markus Elfring <[email protected]> Wed, 02 May 2007 22:05:47 +0200
| Newsgroups | gmane.comp.documentation.synopsis |
|---|---|
| Message-ID | <[email protected]> |
> Well, Markus may want to use something XPath-like to query simply > because it is a familiar means of querying tree structures, much like > SQL is a familiar means of querying tabular structures. > I would appreciate this technique if it will be supported as a general means. The approach "srcML" uses the GPL. I guess that we'll need to look for a free class library with a different licence. http://www.sdml.info/projects/srcml/ > And I couldn't imagine using XPath for symbol lookup even if the tree > were in an XML DOM. > QVT and XQuery would also be nice applications for syntax trees. The symbol lookup should be a component of a transformation step after the inital parsing with token decoration. Semantic analysis will be required for the conversion of an AST into an ASG representation. Regards, Markus