Skip to content

Integrate OPY lowering and end-to-end compatibility with workshop-rs #8

Description

@Teakowa

Parent: #1

Goal

Connect the completed OPY semantic implementation to canonical workshop-rs semantics and finish the Workshop-dependent parts of OverPy compiler compatibility.

Current readiness

The independent source-language implementation, integration boundary, dependency rebaseline, program-structure lowering, non-control-flow lowering, and control-flow lowering are complete.

Completed compiler slices:

The durable dependency direction remains:

OPY source -> parse/preprocess -> semantic resolution/HIR -> opy-compiler -> workshop-rs WIR -> Workshop text

Active execution roadmap

Current primary order:

#42 → close #36 → #37 → #38 → close #8

Separate/non-gating lanes:

Scope

  • Consume workshop-rs through documented public contracts and reproducible release/catalog identity.
  • Resolve canonical actions, values, events, enums, settings, locale behavior, validation, and emission through workshop-rs; do not duplicate Workshop ownership in opy-rs.
  • Preserve OPY-specific syntax, aliases, preprocessing, macros, semantic identities, source spans, diagnostics, and higher-level behavior in opy-rs.
  • Lower supported OPY semantics directly into canonical WIR without another temporary Workshop IR.
  • Expose standalone compilation only when the pipeline has real end-to-end evidence.
  • Advance support claims using observable/canonical semantic equivalence, not emitted-text identity.

Acceptance criteria

  • Lower the declared OPY semantic surface into canonical Workshop WIR #36, Integrate Workshop-dependent settings, locale, directive, and hook behavior #37, and Expose OPY compilation and close the end-to-end compatibility gate #38 complete with independent implementation/test evidence against a released, reproducible Workshop baseline.
  • opy-rs remains independently useful for OPY parsing/check/inspect/source semantics without requiring Workshop emission.
  • OPY semantic identities/signatures link to canonical Workshop identities without duplicating authoritative Workshop data.
  • Supported OPY corpus cases lower to structurally and canonically valid WIR and emit through workshop-rs.
  • Settings, catalog-backed builtin/member/enum validation, locale/emission behavior, evidence-backed backend directive effects, and post-compile hooks have integration tests.
  • The public library/CLI compiler contract has structured, source-attributed failure behavior suitable for tooling and CI.
  • End-to-end support status is grounded in representative real-project/corpus evidence; known gaps remain explicit and cannot count as success.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status
    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions