Basic variable reassignments

This commit is contained in:
Krzosa Karol
2022-06-01 12:13:02 +02:00
parent 86aec0b1eb
commit 9b18c106b6
6 changed files with 116 additions and 55 deletions

View File

@@ -32,9 +32,9 @@ For now I don't thing it should be overloadable.
-------------------------------------------------------------------------------
@todo
[ ] - Init statements
[ ] - More operators
[ ] - Init statements, different kinds [+=] [-=] etc.
[ ] - lvalue, rvalue concept so we cant assign value to some arbitrary weird expression
[ ] - More operators
[ ] - More for loop variations
[ ] - Fixing access to constants, in C we cant have constants inside of structs / functions so we need to rewrite the tree
[ ] - Default values in structs??? Should compound stmts bring values from default values?? Maybe not? Whats the alternative