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

Next #173

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Next #173

wants to merge 10 commits into from

Conversation

mariari
Copy link
Member

@mariari mariari commented Nov 21, 2023

NOT REAL

agureev and others added 10 commits November 3, 2023 18:59
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
Removes typos introduced in fb8bf60. In particular, changes
`mod_n`, `combine_aux`, `n_th`, `mod_n` and `drop-ith` as VampIR functions.
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.
Adds documentation for the new standard library flag.
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants