> COBOL → PYTHON _

Client-side COBOL-to-Python translator — because the future is open source

COBOL-85 ▶ PURE CLIENT 🐸 BUILT BY AN INTERN ☕ ESPRESSO-FUELED
jimothy@rib-it-ltd:~$ _
0 COBOL lines → 0 Python lines  |  Version 1.0.0
▼ COBOL (INPUT)
▶ PYTHON (OUTPUT) generated
Click TRANSLATE to begin, or modify the COBOL input and translate again.
⚙ TRANSLATION NOTES
# Ready. COBOL-85 constructs supported: DISPLAY, MOVE, ADD, SUBTRACT, # MULTIPLY, DIVIDE, COMPUTE, IF/ELSE/END-IF, PERFORM (basic), STOP RUN, # ACCEPT, numeric fields (PIC 9, S9, V), alphanumeric fields (PIC X).
📜 COBOL-85 SUPPORT MATRIX
ConstructSupportNotes
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.
🐸 Jimothy Frogbit · Rib IT Ltd · jimothy.batlion.co.uk · Built with espresso and PERFORM UNTIL