Skip to main content

Crate opy_compiler

Crate opy_compiler 

Source
Expand description

The first OPY-to-Workshop integration boundary.

opy-rs remains a standalone OPY/HIR producer. This crate is the consumer-owned compiler layer: it pins the released workshop-rs v0.1.11 contract, checks the OPY manifest links against the canonical catalog, and lowers the supported OPY program structure into canonical WIR before validation and deterministic Workshop emission.

Modules§

reconstruct
Workshop IR → OPY reconstruction (issue #124).

Structs§

CompilationArtifact
A validated WIR program and its emitted Workshop artifact.
Compiler
The compiler-facing integration object. Construction validates the public manifest/catalog contract once and exposes the pinned catalog identity.
IntegrationDiagnostic
A source-attributed integration diagnostic.
IntegrationError
An integration boundary failure.
LinkReport
Results of the manifest-to-catalog cross-check.
ScriptDiagnostic
Script-runtime provenance retained alongside the OPY directive anchor.

Constants§

WORKSHOP_RS_VERSION
The exact released dependency contract consumed by this crate.

Functions§

cross_check_manifest
Cross-check every OPY manifest catalogId and domain identity against the canonical Workshop catalog. No local catalog copy or spelling allowlist is involved.