interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

[OMEGA-UNIVERSAL P2] Versioned language adapter interface and coverage registry

Open · #631 · open 2026-10-22 21:46 UTC

Imported from GitHub aien-dev/omega-mv#631, by drakestapleton

drakestapleton wrote on 2026-10-22 21:46 UTC

Parent: https://github.com/aien-dev/aien-architecture-mv/issues/295

Prerequisites: Omega #622 (C), #626 (Rust), #627 (Python), #623 (translation checks), and #624 (support matrix).

Current implementation: src/compiler/osc_ir.h holds a bounded typed IR, src/compiler/osc_front.c compiles Omega source, and src/polyglot/omx_lang.h catalogs implementations of a kernel; it is not a general language-adapter interface.

Work: Define versioned import and export adapter APIs with source spans, typed operations, language/runtime capability declarations, specified conversion fidelity, requirements for dependencies, independent reference comparison, and explicit unsupported outcomes. Include example adapters for two bounded toy dialects. Create a documentation-backed coverage registry for future language groups: C++/Zig/Go/Swift, JVM/.NET, JavaScript/TypeScript/Ruby, Fortran/Julia/R/Wolfram, Haskell/OCaml/Lisp/SQL, and shader/bytecode forms. Every entry should be marked supported, limited, experimental, planned or untested with linked receipts.

Acceptance: Two sample adapters work without modifying existing compiler core headers; their import/export smoke tests pass and unsupported constructs refuse with useful diagnostics. Each future language adapter must contribute pinned reference toolchain information, positive and negative fixtures and source/target execution receipts. This issue does not claim that all listed languages are implemented.

Research: https://doi.org/10.1145/3276492 and https://doi.org/10.1145/3571220 .

Forward .om path and composition coverage

Governing direction (Drake, 2026-10-23): .om is the only forward source-language path; .osc is legacy. Extend the existing handwritten seeded Omega toolchain and current migration owners. C/Rust code cited here is implementation/reference evidence, not permission for a hidden production fallback. Reconcile current branches, instructions, issue comments and ownership before editing.

The osc_* files above are historical source evidence. Anchor implementation to the current seeded .om registry/adapter path. Consume #648's first JS/TypeScript frontend binding as an outward target with runtime wire validation and a shared .om backend schema. Mark generator, frontend runtime, backend runtime, transport and supported type/effect/stream subsets independently; generated TypeScript types alone are not interoperability evidence.

Reuse the existing registry/profile owners with #642/#649 for service and hardware provider references; language adaptation, resource control and device drivers remain distinct kinds. Link physical NVMe coverage to aien-dev/aienux#31 and raw-store coverage to aien-dev/synapse#54. Planned provider names never mean implementation or hardware qualification.

drakestapleton wrote on 2026-10-25 13:49 UTC

Six-language delivery linkage

#624 now carries the contract-first parallel execution gates for bidirectional source translation and shared native artifacts. Preserve this issue as the adapter API/registry owner, not a replacement compiler. C #622, Rust #626 and Python #627 remain existing source-adapter lanes; concrete bidirectional source-profile children are C++ #739 (https://github.com/aien-dev/omega-mv/issues/739), Zig #740 (https://github.com/aien-dev/omega-mv/issues/740) and Go #741 (https://github.com/aien-dev/omega-mv/issues/741). Keep import, newly generated source export, source replay and native-call binding as separate coverage dimensions. A registry entry or omega-bridge wrapper is not an implemented translator. Each adapter consumes the frozen #625/#621 contract through disjoint paths; one integration owner writes shared registry/fixtures/build surfaces. Retain all existing acceptance.

Sign in to comment