Skip to content

Language Reassignment: Divorce .bms from JCL into dedicated BMS Map parser #2505

Closed

Description

@squid-protocol

Parent: #2516

Language: BMS (Basic Mapping Support)
Extensions: .bms, .map
Lexical Family: positional_anchored (It is technically HLASM macro code).

Scoping Situation

Currently, .bms is assigned as an extension under the jcl profile in language_standards.py. This is structurally incorrect, as BMS defines 3270 UI screens via Assembler macros (like DFHMSD, DFHMDI, DFHMDF), whereas JCL is a batch orchestration language.

We need code that covers:

  • x (Extraction): Remove .bms from the jcl extensions list.
  • y (Reassignment): Either create a dedicated bms language profile or subsume .bms into the new hlasm profile (since BMS maps are just HLASM macros). Given GitGalaxy's universal key mapping, a dedicated bms profile where macros map purely to ui_framework might yield the cleanest analytical signal for frontend discovery.
  • z (Domain Sensors): ui_framework must capture the screen definitions (DFHMSD, DFHMDI).

Implementation Requirements

  1. Update language_standards.py to divorce .bms from jcl.
  2. If creating a standalone profile, follow how_to_add_a_language.md and generate tests/extraction/languages/test_bms_strict.py.
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