Skip to content

cobolrt: rule catalogue — an ID, IBM reference, option dependencies and register status for every runtime rule #4711

Closed

Description

@squid-protocol

What. Give every semantic rule in det/cobolrt (Cobol.java, Editing, Codec/Zoned, Hfp, Funcs, DetCics, DetSql, le/) a stable rule ID. Examples: MOVE zoned→binary non-digit; OSVS intermediate truncation; RESP2 for STARTBR NOTFND.

Each ID carries:

Acceptance.

  • A machine-readable catalogue (one file), covering every rule the runtime implements today.
  • Each rule's code site references its ID.
  • A test fails when a code site has no catalogue entry or the reverse (two-way, like the det-sweep baseline).
  • Docs generated from the catalogue.

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

🤖 Generated with Claude Code

Activity

  1. added
    enhancement
    legacy-modernization
    priority: high
    on Oct 8, 2026
  2. squid-protocol commented on Oct 14, 2026

    @squid-protocol
    OwnerAuthor

    Closing: PR #5086 meets the acceptance. There is a single machine-readable catalogue (docs/language_status/cobolrt_rules.json, 143 rules), every rule's code site carries its ID, tests/tools/cobolrt_rules.py --check fails both ways, and docs are generated from the catalogue.

  3. added
    scope:sweep
    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: highscope:sweep

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions