Skip to content

Handle comments and bind registers and gates#13

Merged
lmderval merged 11 commits intomainfrom
dev
Sep 18, 2025
Merged

Handle comments and bind registers and gates#13
lmderval merged 11 commits intomainfrom
dev

Conversation

@lmderval
Copy link
Owner

@lmderval lmderval commented Sep 18, 2025

The OpenQASM Parser is now able to handle line and block comments with // and /* ... */ and bind registers and gates to their definition.

Predefined definition are created for U and CX gates.

The pretty printer also output bindings in comments if available.

Closes #5
Closes #7

@lmderval lmderval self-assigned this Sep 18, 2025
@lmderval lmderval merged commit 993abff into main Sep 18, 2025
2 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.

Handle comments Perform registers binding on the AST

1 participant