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

オープン
#4,715 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
15/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
java, python
領域
compilers

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Python
スター
57
フォーク
11
平均マージ
1時間 42分
マージ済み PR(30日)
966

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

squid-protocol/gitgalaxy のほかの issue

squid-protocol/gitgalaxy の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。