Skip to content

Conversation

@braised-babbage
Copy link
Collaborator

Here we add a permissive flag for parse and parse_openpulse. This closes #25

You can see the difference in behavior in the tests. What's particularly concerning about permissive=True are silent failures with that depend on the details of how our AST visitor is written, but I don't have a test case for those.

@braised-babbage
Copy link
Collaborator Author

I think the test failures are due to openqasm3==1.0.0 getting installed. In requirements.txt we just have openqasm3>=0.5.0. The tests pass locally if I roll back to 0.5.0. I could change this here, or we could just have this PR target #24

@braised-babbage braised-babbage merged commit 5471569 into main Aug 2, 2024
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.

Add a non-permissive parse API

3 participants