I want to create an XML file with AST representation of source code, but without compiling it. I didn't find any sufficient solution so far. Here is what I tried:
- Using XML printer in clang -
clang -cc1 -ast-print-xml
- it would be nice, but it was removed from clang - srcML toolkit, which in theory works well, but has poor parser (for Java it's not even fully 1.5-compatible)
Are there any other alternatives?
No comments:
Post a Comment