Skip to content

Implement JOVIAL & CMS-2 Legacy Defense Signatures #77

Open

Description

@squid-protocol

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

Context & Strategic Value

Legacy military platforms (like the F-15 and the U.S. Navy Aegis Combat System) still rely on millions of lines of JOVIAL and CMS-2. Modern static analysis tools completely ignore these languages. By mapping their structural signatures, GitGalaxy provides instant architectural visibility into dead languages, bridging a massive generational knowledge gap for defense contractors.

Implementation Tasks

JOVIAL

  • Add jovial to LANGUAGE_DEFINITIONS.
  • Define Extensions: .jov, .cpool.
  • Set lexical_family to standard_block (" or % for comments).
  • Implement class_start signature: Target TABLE and ITEM declarations.
  • Implement high_risk_execution signature: Target GOTO, FALLTHRU (Critical for tracking unstructured legacy flow).
  • Implement memory_alloc signature: Target manual memory overlays (OVERLAY).

CMS-2

  • Add cms2 to LANGUAGE_DEFINITIONS.

  • Define Extensions: .cms2, .cms.

  • Set lexical_family to standard_block (Uses COMMENT ... $ block markers).

  • Implement globals signature: Target SYS-DD (System Data Design).

  • Implement structural_boundaries signature: Target PROCEDURE, EXEC.

  • [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 above. Run the tests/extraction/languages/test_<lang>_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 f1326f6 -- is the failure mode this guards against.)

Validation

Ensure that legacy unstructured jumps (GOTO) correctly spike the high-risk execution telemetry vectors.

Activity

  1. modified the milestones: , v2.6.0 - The Aerospace Expansion on Jul 5, 2026
  2. added
    aerospace
    core-engine
    enhancement
    on Jul 11, 2026
  3. added
    scope:frontier
    on Oct 16, 2026
  4. added
    priority: low
    on Oct 28, 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-engineenhancementpriority: lowscope:frontier

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions