You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Add the appropriate lexer tokens to the lexer.
Test scanning of those tokens in the lexer.
Add them to the parsing stage during the AST generation
Test the parsing and AST generation of compound operators.
Do the same typechecking their non-compound binary operator equivalent does.
Make tests for the above.
Generate RIR and backend code for the compound operators in the same way the arithmetic
binary operators do.
Add end to end backend tests
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.
The text was updated successfully, but these errors were encountered:
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:
binary operators do.
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.
The text was updated successfully, but these errors were encountered: