Skip to content

Add ceedump lang#374

Open
1000TurquoisePogs wants to merge 14 commits intov3.x/stagingfrom
feature/v3/lang-cee
Open

Add ceedump lang#374
1000TurquoisePogs wants to merge 14 commits intov3.x/stagingfrom
feature/v3/lang-cee

Conversation

@1000TurquoisePogs
Copy link
Copy Markdown
Member

@1000TurquoisePogs 1000TurquoisePogs commented Apr 15, 2026

Proposed changes

This PR adds a CEEDUMP language mode.

Changes:

  • webClient/src/app/editor/code-editor/monaco/hiliters/ceedump.ts — new file containing:
    • CEEDUMP_HILITE: Monarch tokenizer covering page banners, section/sub-section headers, register name labels, CEE message identifiers, memory storage hex dumps (with per-byte group highlighting for 32-bit and 64-bit addresses), EBCDIC decoded character columns, compile attributes, traceback status keywords, and inaccessible storage markers.
    • CEE_MESSAGES: Descriptions for some CEE message IDs
    • CEEDUMP_HOVER_DOCS: Hover tooltip content for section headers, linkage terms (DSA, CIB, PSW, ILC, BKC, FWC, NAB, PNAB, UPSTACK DSA, XPLINK DSA), and other CEEDUMP vocabulary.
  • webClient/src/app/editor/code-editor/monaco/monaco.config.ts — registers the ceedump language with filenamePatterns: ['^CEEDUMP\\.'] for automatic detection, applies the Monarch tokenizer, registers the hover provider (including per-GPR descriptions for GPR0–15, and FPR/VR entries), and defines the ceedump-dark theme.

Type of change

  • New feature (non-breaking change which adds functionality)

PR Checklist

  • If the changes in this PR are meant for the next release / mainline, this PR targets the "staging" branch.
  • My code follows the style guidelines of this project (see: Contributing guideline)
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • New and existing unit tests pass locally with my changes
  • video or image is included if visual changes are made
  • Relevant update to CHANGELOG.md
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works, or describe a test method below

Testing

  1. Build the editor plugin and deploy to a Zowe Desktop instance.
  2. Open a CEEDUMP file (e.g. CEEDUMP.20260401.072907.131080) via the File Explorer or by path. The editor should automatically select the CEEDUMP language mode.
  3. Verify syntax highlighting:
    • Page banners (CEE3DMP V3 R2.0: …) appear in yellow bold.
    • Section headers (Traceback:, Information for enclave …, etc.) appear in green.
    • CEE message IDs (CEE3845I, CEE3204S, etc.) appear in orange.
    • Register labels (GPR0....., FPR0....., VR0......) appear in cyan bold.
    • 32-bit hex values have their first byte in cyan and lower 3 bytes in dark cyan.
    • 64-bit hex values (XXXXXXXX_YYYYYYYY) have the high byte in bright green, high word in medium green, middle byte in cyan, and lower 3 bytes in dark cyan.
    • ******** inaccessible address markers appear in red.
    • EBCDIC decoded columns between |…| appear in gray italic.
  4. Hover over:
    • A CEE message ID to see the diagnostic description.
    • A section header keyword (Traceback, DSA, CIB, PSW, ILC, NAB, etc.) to see the hover tooltip.
    • A register label (GPR13, FPR0, VR0) to see the register role description.
  5. Manually switch the language mode to CEEDUMP from the language picker and confirm it is listed as CEEDUMP.

Signed-off-by: 1000TurquoisePogs <sgrady@rocketsoftware.com>
Signed-off-by: 1000TurquoisePogs <sgrady@rocketsoftware.com>
Signed-off-by: 1000TurquoisePogs <sgrady@rocketsoftware.com>
Signed-off-by: 1000TurquoisePogs <sgrady@rocketsoftware.com>
Signed-off-by: 1000TurquoisePogs <sgrady@rocketsoftware.com>
@1000TurquoisePogs 1000TurquoisePogs marked this pull request as ready for review April 15, 2026 13:32
Signed-off-by: 1000TurquoisePogs <sgrady@rocketsoftware.com>
Signed-off-by: 1000TurquoisePogs <sgrady@rocketsoftware.com>
Signed-off-by: 1000TurquoisePogs <sgrady@rocketsoftware.com>
Signed-off-by: 1000TurquoisePogs <sgrady@rocketsoftware.com>
Signed-off-by: 1000TurquoisePogs <sgrady@rocketsoftware.com>
@github-project-automation github-project-automation Bot moved this from Ready for Review to Merge Ready in WebUI planning board Apr 16, 2026
Copy link
Copy Markdown
Contributor

@timgerstel timgerstel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe ceedump.ts contains em dashes as well.

Comment thread webClient/src/app/editor/code-editor/monaco/hiliters/ceedump.ts Outdated
@github-project-automation github-project-automation Bot moved this from Merge Ready to Change Requested in WebUI planning board Apr 17, 2026
Signed-off-by: 1000TurquoisePogs <sgrady@rocketsoftware.com>
@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Change Requested

Development

Successfully merging this pull request may close these issues.

2 participants