dde / qqcs

Quick Quantum Circuit Simulation
Other
1 stars 5 forks source link

No syntax error when complex suffix i is used without a preceding number #6

Closed dde closed 4 years ago

dde commented 4 years ago

i indicating an imaginary part must always be used as a suffix following a number, e.g. 1i, -6.0i, 2+7i

dde commented 4 years ago

improve lex-ing of comp[lex numbers