My Requirement is to convert COBOL to JAVA , to achieve that I was planning to convert to AST and then to Java.
I was able to get the AST(Abstract Syntax Tree)
of COBOL. Now I am l looking for Java source code generation from AST.
I was hoping I could generate CompilationUnit
or AST
(JDT) from a XML file , but unfortunately all the available APIS(Eclipse JDT) are creating AST from Java source.
I would infact wanted to use XML file as input.
Does any one know how to create ASTNode from its XML counter part?