Skip to content

WIP: Hugr compilation uses nonlocals and does not undo#95

Draft
acl-cqc wants to merge 2 commits intomainfrom
feat/compile_no_undo
Draft

WIP: Hugr compilation uses nonlocals and does not undo#95
acl-cqc wants to merge 2 commits intomainfrom
feat/compile_no_undo

Conversation

@acl-cqc
Copy link
Collaborator

@acl-cqc acl-cqc commented Dec 16, 2025

Not working yet, but attempts to fix some compilation/wiring failures, however, currently almost all examples fail to validate.

Several failures relate to MakeRowTag called from undo - there's a tuple here, and the elements (in-wires) do not agree with the tag, when undoing pattern matches. Think this is because we have only got partway and while some code uses nonlocal edges, other bits reverse constructors.

Base automatically changed from inference-wip/ownership-cleaner to main December 17, 2025 12:13
@acl-cqc acl-cqc force-pushed the feat/compile_no_undo branch from 6ab4d74 to ad4affc Compare December 17, 2025 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant