- implemented type parsing including custom types and generics (useless
for now as we do no semantic analysis)
- implemented struct literal parsing
- implemented struct definition parsing (no generics yet)
- implemented tuple parsing
- registers are now allocated starting from zero
- updated to-dos
- If statements work properly now (hopefully)
- still issues with while loops pushing vars to the stack. need scoping
implemented to fix this!
- refactored registers.rs and fixed faulty logic.
- made register allocation optimisations