det translator: more readable Java — extend provably-safe lifting from bytes to plain Java types

Aperta
#4,715 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
15/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
java, python
Ambito
compilers

Direzione di ricerca

Start with the lift criteria in program.py, since the issue says the translator already lifts some fields to plain Java types under them, and check how REDEFINES and group MOVEs are currently treated. The work needs a per-port readability metric recorded in the evidence report before any lifting changes. Done means the full det sweep and fuzz run show 0 verdict diffs, and each new lift has a recorded safety reason.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement legacy-modernization priority: medium

What. COBOL programs often reinterpret the same bytes (REDEFINES, group MOVEs), so faithful ports keep byte-exact storage, which produces hard-to-read Java. The translator already lifts some fields to plain Java types when that's provably safe (program.py lift criteria). Extend this: more field kinds, local reasoning about REDEFINES and group use, and readable names.

Measure readability per port: share of fields lifted, runtime calls per statement, method sizes. Track it in the evidence report.

Acceptance.

  • A readability metric per port.
  • An increase on the burned estates.
  • No verdict change: full det sweep, fuzz 0 diffs.
  • Every lift is justified by a recorded safety reason.

Part of the cobolrt-as-a-product epic (linked from the epic). Owner-approved direction, 2026-10-08.

🤖 Generated with Claude Code

Lingua principale
Python
Stelle
57
Fork
11
Merge medio
1h 35m
PR unite (30g)
975

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di squid-protocol/gitgalaxy

Tutte le issue di squid-protocol/gitgalaxy

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.