-
Notifications
You must be signed in to change notification settings - Fork 11
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 Unary Minus and Unary Plus #50
Comments
We don't have signed numbers |
Yea but it still might help to check if the number is negative such as -1. Currently you would do 0-1 |
0-1 is 255 |
The resulting bf code would be |
It would still be that The compiler shouldn't convert |
Unary Plus is unneeded since it does nothing. Defined as
+NUM
Unary Minus is defined as
-NUM
They should not break BINOP.
The text was updated successfully, but these errors were encountered: