You could take a look at Elsa. It can output an XML AST for a C or C++ source file. http://scottmcpeak.com/elkhound/
Richard Pennington
2010-02-09 14:01:31
You could take a look at Elsa. It can output an XML AST for a C or C++ source file. http://scottmcpeak.com/elkhound/
The DMS Software Reengineering Toolkit has production quality C and C++ parsers (and Java, C#, COBOL, PHP, many others), and can emit XML representing the AST.