Skip to content

Language Addition: REXX (rexx) #2504

Closed

Description

@squid-protocol

Parent: #2516

Language: REXX (Restructured Extended Executor)
Extensions: .rexx, .exec, .cmd
Lexical Family: recursive_block (uses /* */ comments and allows them to be nested).

Scoping Situation

REXX is the dominant scripting and automation language on z/OS.

We need code that covers:

  • x (Topology): func_start targeting routine labels (e.g., RoutineName:) and PROCEDURE bounds.
  • y (I/O & Bridging): io capturing EXECIO operations (reading/writing datasets) and ADDRESS environment switching (e.g., ADDRESS TSO, ADDRESS CICS).
  • z (Control Flow): branch targeting SELECT, WHEN, OTHERWISE, IF, THEN.

Implementation Requirements

  1. Map REXX according to how_to_add_a_language.md. Set inapplicable keys (like generics, decorators) strictly to None.
  2. Write tests/extraction/languages/test_rexx_strict.py, proving recursive_block comment stripping correctly shields nested /* /* */ */ blocks.

Activity

  1. added
    enhancement
    legacy-modernization
    on Aug 30, 2026
  2. added
    priority: high
    on Sep 2, 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: high

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions