Skip to content

v1.0.4

Compare
Choose a tag to compare
@yutaro-sakamoto yutaro-sakamoto released this 20 Jul 09:02
· 450 commits to main since this release
d942210

New Features

  • Rename cobc, the compile command, to cobj.
  • -fserial-variable option
    • Java variable naming rule has been changed. Starting from v1.0.4, variable names are f_{COBOL variable name} or b_{COBOL variable name} by default. With -fvar-number option, Java variable names are set to f_{serial number}. This new option preserves the old naming rule and prevents javac errors in case COBOL variable names contains illegal characters for Java, for example Japanese DBCS characters.
  • Improve the performance of control statements.
    • In v1.0.3 and earlier, the memory consumption increases the number of GOTO loops increases. In v1.0.4, the memory problem is solved.
    • Due to the fix, the number of class files that cobj command genearates increase compared to earlier version in some cases.
  • Implement -ftrace and -ftraceall options.
  • Change the license of libcobj to LGPL3.

Bug fixes

  • Fix the problem of signed comp-3 data.
  • Fix the problem of MOVE statement.
  • Fix the problem of EXTERNAL

Miscellaneous

  • Remove some unnecessary directories(bin/, vbisam/, m4/, win32/).
  • Remove dependencies on ncurses.
  • Fix the build system of tests/ directory.
  • Add test cases for new features and bug fixes.
  • When converting COBOL source code with EXTERNAL to Java source code, insert line breaks to make them easier to read