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

Add Test Printing Flag #171

Merged
merged 5 commits into from
Nov 22, 2023
Merged

Add Test Printing Flag #171

merged 5 commits into from
Nov 22, 2023

Commits on Nov 3, 2023

  1. Fix to-circuit Variable Printing

    Previously a Lambda function taking natural number arguments `A1` to
    `An` would be compiled to a circuit with arguments `x1` to `x(n+1)`
    where argument `xi` in the circuit for i<(n+1) stands for argument
    `A(n-i)` and `x(n+1)` stands as an unused variable.
    
    Current channge omits the final variable and renames the rest, so
    that the compiled circuit will have appropriate argument order and
    type corresponding to the relevant STLC term.
    
    Note that this changes how to input coproduct type circuit variables.
    
    A
    agureev committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    f057960 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2023

  1. Add Standard Library Flag for Entry

    Adds a `library` flag which can be included while using Geb as a
    binary to print the standard library alongside the compiled STLC or
    Geb term.
    agureev committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    cb83981 View commit details
    Browse the repository at this point in the history
  2. Add New Flag Documentation

    Adds documentation for the new standard library flag.
    agureev committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    3c7e9eb View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2023

  1. Introduce Test Flag For Binary

    Introduces `--test` flag using `-t` for binary usage. When used with
    `-p`, given a compiled VampIR function of form `def foo x1 ... xn =
    {body};` produces a test equality `foo x1 ... xn = y;` printed after
    the entry function.
    agureev committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    1425aa6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b125050 View commit details
    Browse the repository at this point in the history