feat(opy-compiler): lower OPY structure into canonical WIR - #44
Conversation
Implement deterministic declaration and subroutine allocation, structural rule and event lowering, source provenance, and explicit diagnostics for unsupported WIR surfaces. Fixes #40
|
PM/architecture audit: #44 is structurally close, CI is green, but I would not merge this revision yet. Required fixes:
What is already accepted:
After these corrections, rerun full workspace CI + compatibility/oracle checks; #40 should then be ready for final acceptance. |
|
Final review: the three prior semantic/evidence blockers are resolved. One testing-policy cleanup remains before merge.
This is not a #40 semantic blocker; it is a merge-quality/testing-policy cleanup. After that and green CI, I consider #40 ready. |
Keep corpus validation focused on discovered fixture metadata and snapshots instead of a hard-coded count. Refs #40
Summary
Scope
Checks
cargo fmt --all -- --checkcargo clippy --workspace --all-targets --all-features -- -D warningscargo test --workspace --all-targets --all-featurespython3 -m unittest discover -s compatibility/tests