Skip to content

Lower the declared OPY semantic surface into canonical Workshop WIR #36

Description

@Teakowa

Parent: #8
Depends on: #35 (completed)

Goal

Complete the declared OPY semantic lowering surface into valid canonical workshop-rs WIR and close this stage with representative corpus evidence.

#35 established the dedicated opy-compiler boundary against published workshop-rs = "=0.1.1". This issue is an acceptance gate rather than a single implementation PR.

Current execution state

Intended order: #46#47 → close #41#42. Keep each branch/PR independently reviewable.

Scope

  • Map the currently declared OPY semantic program into existing canonical workshop-rs WIR nodes without introducing another Workshop IR.
  • Preserve source provenance and structured failure behavior across the integration boundary.
  • Resolve canonical Workshop identities through workshop-rs; never copy authoritative catalog/member/enum data into opy-rs.
  • Implement OPY-specific special lowering only where observable behavior is backed by pinned oracle/corpus evidence.
  • Use wir::Program::validate and canonical catalog validation as correctness gates.
  • Close with representative synthetic and real-world corpus evidence, keeping unsupported cases explicit.

Non-goals

Acceptance criteria

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions