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 support for backend annotations on functions and methods #749

Merged
merged 10 commits into from
Mar 25, 2024

Conversation

jcp19
Copy link
Contributor

@jcp19 jcp19 commented Mar 21, 2024

With this PR, users can now attach annotations for the backend on functions, methods, outline blocks, and closures. I picked the syntax #backend[...], where ... is a comma-separated list of Viper annotations without the @ prefix.

@jcp19 jcp19 requested review from Felalolf and Dspil March 21, 2024 11:12
Copy link
Contributor

@Felalolf Felalolf left a comment

Choose a reason for hiding this comment

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

Please change the position of the annotation.

src/main/antlr4/GobraParser.g4 Outdated Show resolved Hide resolved
src/main/antlr4/GobraParser.g4 Outdated Show resolved Hide resolved
src/main/scala/viper/gobra/translator/util/VprInfo.scala Outdated Show resolved Hide resolved
@jcp19 jcp19 requested a review from Felalolf March 24, 2024 15:47
@jcp19 jcp19 merged commit 09b191b into master Mar 25, 2024
2 of 3 checks passed
@jcp19 jcp19 deleted the joao-add-support-annotations branch March 25, 2024 10:26
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