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

Handle common operators for variable assignment #262

Closed
theludovyc opened this issue Oct 27, 2023 · 0 comments · Fixed by #263
Closed

Handle common operators for variable assignment #262

theludovyc opened this issue Oct 27, 2023 · 0 comments · Fixed by #263
Labels
majorChange Add this pr to changelog and should describe it RakuScript Rakugo Scripting Dialogue Langue
Milestone

Comments

@theludovyc
Copy link
Collaborator

theludovyc commented Oct 27, 2023

For now is just possible to asign a value to a variable. Not an expression. So we cannot increment it. This is bad !

We can do

variable = value

We cannot do

variable = variable + value
variable += value

Common operators : +=, -=, *=, /=

PS: Sorry @Jeremi360 to have not well understand you at this moment #237

@theludovyc theludovyc added majorChange Add this pr to changelog and should describe it RakuScript Rakugo Scripting Dialogue Langue labels Oct 27, 2023
theludovyc added a commit to theludovyc/Rakugo that referenced this issue Oct 27, 2023
theludovyc added a commit to theludovyc/Rakugo that referenced this issue Oct 27, 2023
@theludovyc theludovyc changed the title Handle all operators for variable assignment Handle common operators for variable assignment Oct 27, 2023
theludovyc added a commit to theludovyc/Rakugo that referenced this issue Oct 27, 2023
@theludovyc theludovyc added this to the 2.1.2 milestone Oct 27, 2023
Jeremi360 added a commit that referenced this issue Oct 27, 2023
fix #262 Handle common operators for variable assignment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
majorChange Add this pr to changelog and should describe it RakuScript Rakugo Scripting Dialogue Langue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant