ProLeap ANTLR4-based parser for COBOL
Several bugs and requests have been issued. This release contains following new features and bug fixes:
FILE CONTROL
keyword.Several bugs and requests have been issued. This release contains following new features and bug fixes:
final CobolParserParams params = new CobolParserParamsImpl();
params.setCopyBookDirectories(...);
params.setCopyBookFiles(...);
params.setCopyBookExtensions(Lists.newArrayList("cpy"));
final Program program = new CobolParserRunnerImpl().analyzeFile(inputFile, CobolSourceFormatEnum.FIXED, params);
RuntimeException
on syntax errors. Can be disabled by:final CobolParserParams params = new CobolParserParamsImpl();
params.setIgnoreSyntaxErrors(true);
final Program program = new CobolParserRunnerImpl().analyzeFile(inputFile, CobolSourceFormatEnum.FIXED, params);
final CobolParserParams params = new CobolParserParamsImpl();
params.setCharset(...);
final Program program = new CobolParserRunnerImpl().analyzeFile(inputFile, CobolSourceFormatEnum.FIXED, params);
CBL ADV
.<>
operator.A big thank you to @Reinhard-Prehofer and @albertolovato for their steady contributions!
We were provided with a batch of several hundred real-life finance COBOL files. Following features and bug fixes enable successful parsing of all of these files.
$SET
compiler directives are removed by preprocessor.CBL
and PROCESS
statements are removed by preprocessor. Added numerous compiler options.SET TO ENTRY
statement type.AND
in combined condition.USING
and GIVING
clauses.NATIONAL-EDITED
to initialize statement.ADD TO GIVING
.We're very excited to introduce ProLeap COBOL parser 2.1.0. In the last months, the parser was tested with a lot of real-life production COBOL files. As a result, this release contains a lot of bug fixes and optimizations:
Thanks to @Reinhard-Prehofer, @albertolovato, @acaramia for pull requests and contributions.