Skip to content

Equivalence harness: PL/I support #4509

Open

Description

@squid-protocol

The engine already reads PL/I (DECLARE structures give exact layouts, a strong fit for generation). The blocker is running the original: there's no mature free PL/I compiler (options are Iron Spring PL/I on Linux, or z/OS through #4050). Decide the runner first.

Done when (each language): (1) the original runs in the harness (or its outputs are captured on z/OS via #4050); (2) inputs are generated from the language's declared data structures, like #3804 does for COBOL; (3) outputs are compared field by field and reported through #4493; (4) one real case proves, with coverage measured and a mutation run on the replacement. If (1) is impossible locally, say so and depend on #4050 instead of faking a runner.

Activity

  1. added
    enhancement
    testing
    legacy-modernization
    on Oct 5, 2026
  2. added
    scope:frontier
    on Oct 16, 2026
  3. added
    needs:docker
    on Oct 18, 2026
  4. added
    priority: low
    on Oct 28, 2026
  5. squid-protocol commented on Nov 4, 2026

    @squid-protocol
    OwnerAuthor

    Iron Spring PL/I: what its own docs say (read 2026-11-03 over http; the https certificate on iron-spring.com has expired). Sources: faq.html, download.html, news.html, prog_guide.html (Restrictions, Compiler Limits, Internal Data Representations).

    • Status: compiler 1.4.1 (2026-04-15), preprocessor ispp 1.0.0 (2026-07-15). Linux only (OS/2 frozen). Releases about twice a year since 1.0 in 2023, from one developer.
    • Licence: "free for non-commercial and hobbyiest use. The price of the commercial version has not yet been determined." The compiler is closed source; the runtime library is LGPL. For this project's use, a commercial licence has to be settled first ([email protected]).
    • Dialect: targets IBM PL/I for MVS & VM 1.1 (SC26-3114). "Many features of IBM's newer 'Enterprise' PL/I compilers are not supported." No CICS or DL/I preprocessor. It can call C (SYSTEM / CDECL), so a ggcics-style stub is reachable, but we would write the EXEC CICS rewrite ourselves.
    • Data representation differs from z/OS: ASCII; FIXED BIN is x86 little-endian; FIXED DEC defaults to x87 BCD, with IBM packed only under OPTIONS(IBM); FLOAT is x87/IEEE, not hexadecimal float; pointers are 4 bytes. FIXED DEC precision is at most 18 (PL/I for MVS: 15; Enterprise: 31). No EBCDIC collation or big-endian binary mode was found in the guide.
    • Gaps that matter for CICS batch / online code: REWRITE / DELETE / LOCATE / UNLOCK are unsupported on non-ISAM files; FETCH / RELEASE are not implemented; GET DATA, GENERIC and GRAPHIC are missing; full preprocessor support is only in ispp. Unimplemented features fail loudly (message 995 / the UNIMPLEMENTED condition), which suits an oracle: refused, not silently wrong.
    • Fit as an instrument: plausible for the computational core of PL/I-for-MVS-era programs (era 1-2, dsf's shape), with a register of every difference above. Weak wherever a port depends on z/OS bytes (UNSPEC, DEFINED and BASED overlays, COMMAREA images, FLOAT, collation), and for Enterprise-only features. z/OS capture (Captured mainframe outputs as the equivalence oracle (beside GnuCOBOL) #4050) remains the authority.
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-modernizationneeds:dockerpriority: lowscope:frontiertesting

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions