Closed k4rtik closed 2 years ago
@jakezweifler I have spent enough time on this issue and feeling like it's not worth supporting. The main issue is the reduce/reduce conflict between parsing a list of names as either binders (for lambdas) or as variables. I don't see any easy solution so far with BNFC.
I am marking this issue as won't fix.
To conclude, we can parse all the Q# Standard library except the two files mentioned in OP.
We might still be able to fix this issue by editing the generated parsers directly.
Currently, both fail.
Tests are
Libraries/Standard/QuantumROM.qs
andLibraries/Standard/SinglyControlled.qs