Languages / PL/I · View extractor source
Mainframe & Batch · Structural PluginPL/I
Dedicated PL/I (PL/1) structural extractor with nested procedure lexical span tracking and DO/SELECT/BEGIN block balancing.
- Plugin
- PliPlugin (rgctl-lang-pli)
- Extensions
- .pli, .pl1, .inc
- Aliases
- pli, pl1, pl/i, pl/1
- Discover
- rgctl discover . -l pli
Extracted symbols
| Construct | Symbol Type | Notes |
|---|---|---|
| <name>: PACKAGE | SymbolType::Module | Top-level PL/I package container. |
| <name>: PROC / PROCEDURE ... END | SymbolType::Function | Procedures with nested Outer::Inner qualification and full body line spans. |
| DCL 1 <name> / DECLARE 1 <name> | SymbolType::Class | Level-1 major data structures. |
| %INCLUDE <member>; | SymbolType::Import | Preprocessor include member dependencies. |
Extracted relations
| Construct | Relation Type | Notes |
|---|---|---|
| CALL <proc>(...) | RelationType::Calls | Attributed to the innermost enclosing PROCEDURE. |
| FETCH <proc>; | RelationType::Calls | Dynamic module load call (metadata.dynamic = true). |
| EXEC CICS LINK / XCTL PROGRAM('<prog>') | RelationType::Calls | CICS program linkage edges. |
Related: Mainframe triad support · Tier 2 language support · Discovering and indexing