Normalize and improve property access and subscript in the parser phases.
Fixes, Improvements
Grammar
Chained subscripts and property access a.b.c.d. Makes working with data-types (like Linked lists) much more stable
Better handling of subscripts on property access a.b[0] (refactor)
Internal
fragment renamed to stmt
stmt is a tagged template literal which allows for "expanding" node objects inside a walt template string, previously this was limited to string literals only.
node; // complex node like a function call or binary expression
return stmt`i32.load(${node} + 1024);`
Custom generators for memory read/write are removed. This greatly simplifies some optimizations and custom scenarios.
Normalize and improve property access and subscript in the parser phases.
Fixes, Improvements
Grammar
a.b.c.d
. Makes working with data-types (like Linked lists) much more stablea.b[0]
(refactor)Internal
fragment
renamed tostmt
stmt
is a tagged template literal which allows for "expanding" node objects inside a walt template string, previously this was limited to string literals only.