I want strategy structure to create a utility which converts COBOL to java code
By aschauhan
@aschauhan (1)
June 11, 2006 11:42pm CST
I want to create a utility which will convert COBOL to java on a single click.The user will just have to put his/her COBOL code and the utility will automatically convert it to java code. I want to know the Strategy by which i can start working on it. Or you can say the structure which i can follow.
1 response
• South Africa
31 Aug 06
Look for Cobol To C on the internet for some ideas.
You need to Use LEX and a Grammer to load your program into a proper symbol table. Then Generate the New Source from the Symbol Table.
May not look much like Java when you are done.
Good luck with the redefines and the occurs and redefines within an occurs.