Closed decompsed-learning closed 4 years ago
Hello, You idea is good. As I see - the first problem is creating AST tree. For C4GO, we use 'clang'. For example- I do not found AST creater for fortran. Do you know AST creaters for that languages?
I think this should work https://github.com/uwol/proleap-cobol-parser
Syntax of AST is too different.. So, the best way is create transpiler for cobol outside of that project. May be you can try - cobol to C , then C to Go, but I do not know transpiler from cobol to C. For myself is not clear you point of view.
Have you looked doing a transpile from COBOL, or PL1 to Golang?