Simple parser/lexer/optimizer writtin in standard rust.
Supports 4 instructions:
MEASURE
CZ
RZ
RX
This compiler is built using cargo and the rust std library, so build and execution is simple.
cargo build --release
executable located at target/release/dustinw-qc
Supply the inq file to be compiled as an argument:
dustinw-qc examples/testdata/sample_1.inq
cargo test