Open idavis opened 2 weeks ago
Just to warn you because you're opening a lot of issues: this parser is/was experimental, and is not this second under active development. We reprioritised our efforts earlier in the year, and this parser is one of the things that got temporarily deprioritised, before we'd finished making it production ready.
We do intend to pick up development on it again, probably in the new year, but right now, there's nobody from the Qiskit team actively working on it.
From the spec:
grammar:
ifStatement: IF LPAREN expression RPAREN if_body=statementOrScope (ELSE else_body=statementOrScope)?;
if-then example:
output:
if-then-else example:
output: