QuTech-Delft / libqasm

libQASM: Library to parse cQASM files
https://arxiv.org/abs/1805.09607
Other
17 stars 16 forks source link

Create the grammar BNF file #1

Closed kel85uk closed 6 years ago

kel85uk commented 6 years ago

Need to make sure there's a grammar file so that developers in the future can look into this document and have the syntax settled. Helps create the parser via flex, bison.

kel85uk commented 6 years ago

Tentatively done with commit 00dd8aa2e62aa1fc4f02f55e478b7302ef04a64f

kel85uk commented 6 years ago

@quantumkoen Could you check this too? Thanks!

imranashraf commented 6 years ago

@kel85uk just to mention the work regarding as we discussed in telco.

kel85uk commented 6 years ago

I would close this issue with bnf as the flex-bison inputs will be raised in another issue. The bnf done here forms the basis for the .y file in bison