I’ve released
cobcal74 — a pure COBOL-74 arithmetic expression evaluator that runs unmodified on
TK4- (MVS 3.8j)
and GNU COBOL. It implements the shunting-yard algorithm, supports
unary minus (in classic style), and includes a full test suite via JCL.
GitHub:
https://github.com/manyone/cobcal74 Feedback welcome from fellow MVS/COBOL tinkerers!