Skip to content

Add permissive flag for parse routine #26

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 2, 2024
Merged

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
11 checks passed
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
2 participants