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

[Aleo ins] Update grammar based on audit. #62

Merged
merged 1 commit into from
Sep 13, 2023
Merged

[Aleo ins] Update grammar based on audit. #62

merged 1 commit into from
Sep 13, 2023

Conversation

acoglio
Copy link
Collaborator

@acoglio acoglio commented Sep 7, 2023

Closes #53, #54, #55, #56, #57, #58, #59, #60, #61.

Copy link
Collaborator

@bendyarm bendyarm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. All except one of the changes look like improvements.
One of the changes that is being made to match the snarkVM parser might need to be changed again because most likely the intent of the parser is something else. We will propose that as a separate change to the parser and the grammar. Specifically, the snarkVM parser allows call ... into with zero registers after the into. I think if there are no destination registers, we probably want to disallow the into. Again, I recommend merging this commit and then we will propose matching changes in snarkVM and grammars for call.

@acoglio
Copy link
Collaborator Author

acoglio commented Sep 11, 2023

The issue with "dangling" into is shown here: https://github.com/AleoHQ/snarkVM/pull/1975

@acoglio acoglio merged commit d760cbc into master Sep 13, 2023
@acoglio acoglio deleted the audit branch September 13, 2023 16:41
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.

Finalize-output tokens missing in aleo.abnf
2 participants