Skip to content

det translator: a data name with a single-byte national letter (cp273 BETRÄGE / GEBÜHR) is refused: estate-crucible ZINSBER #4664

Closed

Description

@squid-protocol

Problem

The det translator refuses a program whose data names hold a single-byte national letter (a letter of the declared EBCDIC code page beyond ASCII): estate-crucible apps/DEUT/cobol/ZINSBER.cbl (cp273) names 01 BETRÄGE and its copybook ZINSSATZ.cpy 05 GEBÜHR. The refusal is by name (source.unmodelled: "the name GEBÜHR holds a national letter: the COBOL grammar reads ASCII words only"), so nothing is mistranslated, but the program gets no translation and no translator facts.

Evidence (branch fix/4462-decimal-point-comma, after DECIMAL-POINT IS COMMA was modelled for #4462)

  • fact_crosscheck.py run --corpus estate-crucible: apps/DEUT/cobol/ZINSBER.cbl ... translator refused: layout: LayoutError: ZINSSATZ.cpy:3: the name GEBÜHR holds a national letter ... (ledger cause translator-refuses-national-text).
  • ZINSBER's statements themselves are proven with ASCII names: tests/cobol_mainframe/test_det_programs.py DPCOMMA (bytes / typed / groups equal to GnuCOBOL).
  • The tree-sitter COBOL grammar tokenises words as ASCII only (det/source.py unmodelled).

Impact on a real estate

German, Nordic and other Latin-1-page estates use national letters in data names (cp273, cp277, cp278). Each such program is refused whole.

Acceptance criteria

  • A name holding a single-byte national letter is handed to the grammar in a reversible, column-preserving form and restored for layout, statements, generated Java and translator facts (or a documented reason to keep refusing).
  • What GnuCOBOL (the oracle) does with such a name is recorded (it reads the source after code-page transfer).
  • estate-crucible ZINSBER translates, or its next gap is refused by name; its ledger entry drops.

Out of scope: DBCS / national data (#4272).

Found during: #4462 (DECIMAL-POINT IS COMMA slice)

🤖 Generated with Claude Code

Activity

  1. added
    enhancement
    legacy-modernization
    on Oct 8, 2026
  2. added a commit that references this issue on Oct 10, 2026
    cd3af84
  3. added
    scope:frontier
    on Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementlegacy-modernizationpriority: mediumscope:frontier

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions