Skip to content

cobolrt: rules as data — generate runtime code, test vectors and docs from rule tables (start with one family) #4712

Closed

Description

@squid-protocol

What. Express rule families as data tables and generate the Java runtime code, test vectors and documentation from them, so the three can't drift. This is the pattern CicsSpec.java already follows for CICS (#4586, #4608).

Start with one family, picked for value: MOVE between numeric/alphanumeric/edited types, or comparisons. Prove the generated code is behaviour-identical to today's: det_port.py check shows no port change, the full det sweep, and the differential fuzz against cobc gives 0 diffs.

Why. It makes z/OS calibration (#4702) a matter of filling a measured column, and makes the catalogue the single source of truth.

Acceptance.

  • One family generated from its table.
  • Test vectors run in CI.
  • Docs rendered from the table.
  • No port/verdict change.
  • A plan for the next families.

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. added
    scope:frontier
    on Oct 16, 2026
  3. added 2 commits that reference this issue on Oct 29, 2026
    1884cfc
    2a8930e
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:frontier

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions