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 boolean (binary) operators #12

Closed
jmackie opened this issue Apr 5, 2022 · 2 comments
Closed

Add boolean (binary) operators #12

jmackie opened this issue Apr 5, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@jmackie
Copy link
Member

jmackie commented Apr 5, 2022

Namely and and or (I prefer the python-style words here).

x = true and false;
y = some_var or some_other_var;

I'd like to have an xor operator, but this isn't supported in all languages so would complicate code generation in some cases (and tbh I don't really think it's worth the hassle).

@jmackie jmackie self-assigned this Apr 5, 2022
@jmackie jmackie added the enhancement New feature or request label Apr 5, 2022
@jmackie jmackie added this to the 0.0.2 milestone Apr 5, 2022
@jmackie
Copy link
Member Author

jmackie commented Dec 16, 2022

Actually, let's just implement these with library functions. Keep the language small.

@jmackie jmackie closed this as completed Dec 16, 2022
@jmackie jmackie removed this from the 0.0.2 milestone Jan 5, 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
Projects
None yet
Development

No branches or pull requests

1 participant