Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make semdemo parse to AST use oq3_source_file #48

Merged
merged 2 commits into from
Jan 18, 2024
Merged

Commits on Jan 18, 2024

  1. Make semdemo parse to AST use oq3_source_file

    Before this commit, QASM_PATH is respected by `semdemo semantics` but not `semdemo parse`.
    
    This commit allows files to be found in QASM_PATH when running `semdemo parse`.
    This is needed when debugging and switching between `semdemo parse` and `semdemo semantics`.
    
    For example, the following works with QASM_PATH
    cargo run --example semdemo -- parse ex.qasm
    
    Closes #41
    jlapeyre committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    2641eee View commit details
    Browse the repository at this point in the history
  2. Make semdemo.rs clippy compliant

    I already did this once. But that commit got lost somehow.
    jlapeyre committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    d3ddb65 View commit details
    Browse the repository at this point in the history