<ssaammee@gmail.com> wrote in message
news:1148412100.344108.219210@38g2000cwa.googlegro ups.com...[color=blue]
> I have legacy ADA and C++ code, and I need to export this code into an
> XML format so I can create a tool to analyze and work with it. I tried
> various tree-dump-* commands with g++ and didn't find anything that
> looked to be read-able or anything that was at a high level like my
> code (GIMPLE was much to low level for me because I want to maintain
> variable names and such).
>
> Is there a way I can access the parser for either C++ or ADA so that I
> can access a high level parsed version of my code (such as an AST)? If
> not, can a parser dump command be recommended?
>
> Any help would be appreciated!
>
> Thank you,
> -Sam Edwards
> Sedwards At Harmonia Dot Com[/color]
The DMS Software Reengineering Toolkit provides generalized compiler
technology
for parsing, analysing and transforming source langauges. It can parse to
ASTs
and produce XML as an optoin. It has robust front ends for Ada83 and 95,
and a variety of dialects of C++, including ANSI, GNU, and MS Visual Studio
2005.
See
http://www.semanticdesigns.com/Produ...MSToolkit.html
--
Ira Baxter, CTO
www.semanticdesigns.com
[Sorry if this is a duplicate. MS Outlook choked on the first reply,
so I don't know if it went out.]