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

let expressions in checks #21

Open
florianschanda opened this issue Jul 6, 2023 · 0 comments
Open

let expressions in checks #21

florianschanda opened this issue Jul 6, 2023 · 0 comments
Labels
large topic: analysis Affects the Linter or VCG topic: core Affects lexer/parser/infrastructure topic: LRM Affects the Language Reference Manual

Comments

@florianschanda
Copy link
Collaborator

We could support something like this:

checks T {
   let { fraction = a / b }
   1 <= fraction and fraction <= 10, warning "potato"
}
@florianschanda florianschanda added topic: LRM Affects the Language Reference Manual topic: core Affects lexer/parser/infrastructure large labels Jul 6, 2023
@florianschanda florianschanda added the topic: analysis Affects the Linter or VCG label Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
large topic: analysis Affects the Linter or VCG topic: core Affects lexer/parser/infrastructure topic: LRM Affects the Language Reference Manual
Projects
None yet
Development

No branches or pull requests

1 participant