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

Allow to specify VampIR variable names #2141

Merged
merged 13 commits into from Jun 1, 2023
Merged

Allow to specify VampIR variable names #2141

merged 13 commits into from Jun 1, 2023

Conversation

lukaszcz
Copy link
Collaborator

@lukaszcz lukaszcz commented May 29, 2023

Adds the argnames pragma which specifies function argument names. These will be the names used in Core and subsequently in VampIR for the main function.

{-# argnames: [x, y] -#}
main : Nat -> Nat -> Nat;

@lukaszcz lukaszcz added enhancement New feature or request pipeline:vampir labels May 29, 2023
@lukaszcz lukaszcz added this to the 0.4 - Prague milestone May 29, 2023
@lukaszcz lukaszcz self-assigned this May 29, 2023
@lukaszcz lukaszcz marked this pull request as ready for review June 1, 2023 09:53
@lukaszcz lukaszcz requested a review from jonaprieto June 1, 2023 09:53
@lukaszcz lukaszcz merged commit c4c92d5 into main Jun 1, 2023
4 checks passed
@lukaszcz lukaszcz deleted the vampir-args branch June 1, 2023 15:36
@jonaprieto jonaprieto modified the milestones: 0.4 - Prague, 0.3.5 Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pipeline:vampir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide a way to specify main argument names in VampIR
2 participants