refu-lang / refu

Refu language
21 stars 4 forks source link

Implement compound arithmetic operators #30

Open LefterisJP opened 7 years ago

LefterisJP commented 7 years ago

Compound arithmetic operators (+=, -=, *=, /=) are missing from the language at the moment.

This is an issue to track the implementation of their addition to the language. TODO:

1.

2.

3.

4.

Note: This issue requires a lot of work, but is quite easy to do since the logic already exists throughout the code for the arithmetic operators. So implementation is just looking at what already exists and duplicating it with some modification.

For that reason it could be a nice deep-dive introduction to the codebase for someone who wants to learn how refu works.