Home

Awesome

ProLeap ANTLR4-based analyzer, interpreter & transformer for COBOL

This is an analyzer, interpreter & transformer for COBOL based on ProLeap COBOL parser. The parser generates an Abstract Syntax Tree (AST) and Abstract Semantic Graph (ASG) for COBOL code, which then is processed by this analyzer, interpreter & transformer.

💫 Star if you like our work.

License: AGPL v3 ProLeap on Twitter

Getting started

In Eclipse open ProLeapCobolEmbeddedJetty and run the main method as Java application. A Jetty will start.

Support

This program is free software under AGPL v3 license and in this form comes without support.

License

This program is free software under AGPL v3 license. Source code generated by this program is NOT subject to AGPLv3 licensing. You can use this program to transform COBOL to Java and keep the copyright for your code.

The AGPLv3 license is only meant for this program itself. Our idea is that a joint effort in the industry is needed to build an open source tooling for COBOL modernization. Hopefully, future source code contributions from the industry are flowing back into this program, making COBOL modernization increasingly feasible for companies.

Where to look next

Build dependency proleap-cobol-parser

$ mvn clean install

Build Process

The build process is based on Maven (version 3 or higher). Building requires a JDK 17.

$ mvn clean package
[INFO] Scanning for projects...
...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for proleap-cobol 1.0.0:
[INFO] 
[INFO] proleap-cobol ...................................... SUCCESS [  0.066 s]
[INFO] proleap-cobol-commons .............................. SUCCESS [  3.431 s]
[INFO] proleap-cobol-analysis ............................. SUCCESS [  6.682 s]
[INFO] proleap-cobol-interpreter .......................... SUCCESS [  4.164 s]
[INFO] proleap-cobol-transform ............................ SUCCESS [  4.180 s]
[INFO] proleap-cobol-app .................................. SUCCESS [ 14.306 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
$ mvn clean install
$ mvn clean test
$ mvn clean package -P jib-app