-
Notifications
You must be signed in to change notification settings - Fork 18
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
Weird for loop #4
Comments
After some investigation (only scanning the source code) , i don't think it supports that. in
where if I'm correct, it only deals with the variable as immutable, as it does not count for the case where the grammar could be Not so sure, but I think we could add an if statement in the |
Nice catch! I'll look into that sus for loop and see if I could fix it and add more rizz to the language. |
It doesn't support multiple things.
Instead you have to do
Also for debugging purposes I recommend doing the brainrot keyword assignment on release build, arrays don't exist, should be implemented to allow at least basic tasks function calling would be legendary |
I plan on implementing these features you mentioned, but feel free to contribute and show all your rizz. |
This is now working, with a minor change on how the
This prints the following: [leonardo@archlinux brainrot]$ ./brainrot < examples/test.brainrot
120 Fixed in #14. |
Highlighted line returns syntax error, same if I replace
result * i
with1
.Does Brainrot have the ability to reassign?
Any help would be sigma.
The text was updated successfully, but these errors were encountered: