Converts Fortran to Cobol.
This code was written to reduce RSI associated with porting code from Java to Typescript; those repetitive tasks like tweaking imports, moving types around, etc. It's not likely to be complete this century, but it doesn't have to be complete to help in porting.
To play with this, clone the accompanying test java package: https://github.com/ericprud/javatots-test as a sibling of this repo. Then you should be able to run the main without command line args and reproduce the .ts files under ../javatots-test/asTypescript/packages.
(cd javatots &&
java org.javatots.main.JavaToTypescript)Once you run this, you can
(cd ../javatots-test/asTypescript/src/packages/ &&
for d in custdb custapp;
cd $d &&
npm run build)You should be able to do that from ../javatots-test/asTypescript/ but I guess node's script runner doesn't understand for f in foo*; do.
Any typescript errors you eliminate are a step up.
- Plug-in architecture to map invocations of java libraries to analogous javascript libraries.
- Round out more Lombok features.
- Keep picking away at Typescript errors.
- Parse tsconfig to control whether to add
this.qualifiers to member variables and functions.