Client-side COBOL-to-Python translator — because the future is open source
| Construct | Support | Notes |
|---|---|---|
| IDENTIFICATION DIVISION | ✓ Full | Extracts PROGRAM-ID as function name |
| DATA DIVISION / WORKING-STORAGE | ✓ Full | PIC 9, S9, V, X, VALUE clauses |
| PROCEDURE DIVISION | ✓ Full | Entry point + paragraphs as functions |
| DISPLAY | ✓ Full | print() with string concat |
| ACCEPT | ✓ Full | input() with variable |
| MOVE | ✓ Full | Simple assignment |
| ADD / SUBTRACT / MULTIPLY / DIVIDE | ✓ Full | Arithmetic with GIVING |
| COMPUTE | ✓ Full | Direct expression mapping |
| IF / ELSE / END-IF | ✓ Full | Nested conditionals |
| PERFORM (inline) | ✓ Full | PERFORM paragraph-name → function call |
| PERFORM VARYING | ◈ Partial | Basic loops, UNTIL conditions |
| OCCURS (tables) | ◈ Partial | 1D arrays via lists |
| PERFORM UNTIL | ✓ Full | while loops — my dissertation topic! |
| GO TO | ◈ Discouraged | Warning emitted; use structured flow |
| File I/O (SELECT, OPEN, READ) | ✗ Not yet | Complex file handling. Future. |
| INSPECT / STRING / UNSTRING | ✗ Not yet | String operations. Future. |