LOLCODERZ/NOPE

TODO: Think about what to do if we want to store an 16 bits value and update it with a 32 bits value

Opened this issue · 0 comments

Same with arrays (would it be possible to append it)
Same with strings (technically arrays)

Idea: early free + cloning to the top of the stack (moving) and then appending it (since on top of the stack)
Potential issue: the moved variable will be freed too early since it is on top of the stack

The stack will therefore only be considered as a stack when freeing variables

Pop only possible from the top
Read possible everywhere
Write possible everywhere
Push only possible to the top