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

Update VampIR Functions and Standard Library #147

Merged
merged 5 commits into from
Aug 29, 2023

Conversation

agureev
Copy link
Collaborator

@agureev agureev commented Aug 29, 2023

Adds new VampIR functions including range-checked arithmetic operations, inductive operations on lists, range-decomposition for arbitrary bitwidth along with an updated standard library. The library will serve as the minimal library needed to compile arbitrary JuvixCore code into VampIR allowing the result to compile.

Adds two new constrictors to the VampIR spec, allowing for making of
the empty bracket used for induction on lists and of the curly
brackets for function specification.
Adds a new primitive operation of conditional division to the VampIR
spec. The primitive stands for the VampIR operation which is capable
of dividing by 0, producing 0.
Upgrade the Vamp-IR package to include basic functions of the library
such as checking whether something is zero, checking whether a number
is negative etc. Alongside that, arithmetic operations with appropriate range
checks are introduced in order to be used in the upgraded pipeline
which will allow for the compilation of natural number functions and
predicates of fixed bitwidth.
Upgrades the standard library needed to compile JuvixCore functions
containing natural numbers functions and predicates.
@mariari mariari force-pushed the artem/vampir-seqn-pipeline-functions branch from 6596b61 to dd7d5c5 Compare August 29, 2023 17:51
@mariari mariari merged commit 7c92151 into main Aug 29, 2023
@mariari mariari deleted the artem/vampir-seqn-pipeline-functions branch August 29, 2023 20:20
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