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 Boolean variables in guards and updates #104

Open
seblund opened this issue Jul 25, 2022 · 0 comments
Open

Allow Boolean variables in guards and updates #104

seblund opened this issue Jul 25, 2022 · 0 comments
Labels
large endeavour An endeavour that requires a relatively more effort to implement new feature A feature that should eventually be added

Comments

@seblund
Copy link
Member

seblund commented Jul 25, 2022

Allow boolean variables in guards and updates such that:
Users can declare boolean variables and initial values in declarations:

bool a = false;

Users can use boolean variables in guards:

x < 2 && a == true && b == false && a != b

Maybe we should further allow x < 2 && a && !b (I think we should) but we can discuss that in this issue.

Users can update boolean variables in updates:

x=0, a=!b, b=true
@seblund seblund added new feature A feature that should eventually be added large endeavour An endeavour that requires a relatively more effort to implement labels Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
large endeavour An endeavour that requires a relatively more effort to implement new feature A feature that should eventually be added
Projects
None yet
Development

No branches or pull requests

1 participant