This was the title of the book by a marathon runner who broke many world records.
The relevance here is that I am, alone, climbing the high mountain of developing a compiler/crss-compiler/translator. Anybody wanting to join me in development of RES - An Open Cobol To Java Translator are welcome.
Hi Venkat, thanks for sharing your work here.
I downloaded the 1.0alpha release, installed it under Windows XP (Java 1.6.0_12) and tried
java -jar RES.jar cobol\HELLO.CBL
Which resulted in:
RES Cobol 2 Java - (c) Venkat Krishnamurthy 2009
Exception at line 30 : play 'This is under No Section under Procedure Body in a paragrac
java.lang.StringIndexOutOfBoundsException: String index out of range: 6
at java.lang.String.charAt(Unknown Source)
I don't know if this is deliberate or expected, but I was expecting the samples to compile...
I found out I needed the "-free" switch "To Translate a free format COBOL program:"...RTFM
java –jar RES.jar -free COBOL\HELLO.CBL
and no more Exception.