Hi,

> I am looking to transform a tree in SSA form into a representation of it in C.

you can try using LLVM (which uses an IR in SSA form): it has a "C" backend
that squirts out C equivalent to the IR.  The resulting C is not very nice to
read though.

Ciao,

Duncan.

PS: This is a cute way of getting an Ada to C translator, or a Fortran to C
translator: use the llvm-gcc Ada/Fortran front-ends to turn your program into
LLVM IR, then use the C backend to turn it into C.  This currently doesn't
support all constructs though (eg: exception handling).

Reply via email to