Skip to content

Implement PL/I Mainframe & ISS Legacy Signatures #1142

Closed

Description

@squid-protocol

Parent: #2516 (cross-posted; this issue originated under the aerospace epic #75, which it also remains part of)

Related: #2502 (opened later, as part of a coordinated mainframe-language-family batch) also adds a pli profile, emphasizing CICS/ipc_rpc_bridges/io rather than this issue's structural_boundaries/memory_alloc focus. These need to be consolidated into one pli implementation, not built independently -- see #2516 for the tracking note.

Epic: #75
Target: gitgalaxy/standards/language_standards.py

Context & Strategic Value

PL/I underlies legacy mainframe infrastructure and foundational segments of the International Space Station (ISS) control software. Bridging visibility into this generation of code lets GitGalaxy audit infrastructure that predates modern toolchains entirely.

Implementation Tasks

  • Add pli to LANGUAGE_DEFINITIONS.
  • Define Extensions: .pli, .pl1.
  • Set lexical_family to standard_block (Uses /* */).
  • Implement structural_boundaries signature: Target PROCEDURE, BEGIN, END.
  • Implement memory_alloc signature: Target ALLOCATE, FREE.
  • [Process check] Cross-reference the language's official spec/reference manual for this signature's full keyword vocabulary before closing -- do not rely solely on the abbreviated list below. Run the tests/extraction/languages/test_pli_strict.py harness and confirm coverage against gitgalaxy/standards/how_to_add_a_language.md's recurring-bug-class checklist. (Implement Ada & SPARK Structural Signatures #76's SPARK refinement-aspect gap -- found only in a manual post-merge pass, fixed in commit f1326f6 -- is the failure mode this guards against.)

Validation

Scan legacy PL/I mainframe or ISS-heritage snippets. Confirm memory_alloc correctly flags ALLOCATE/FREE pairs and structural_boundaries cleanly delimits PROCEDURE blocks.

Activity

  1. added
    enhancement
    aerospace
    core-engine
    on Aug 7, 2026
  2. added
    legacy-modernization
    on Aug 30, 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

    aerospacecore-engineenhancementlegacy-modernization

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions