summaryrefslogtreecommitdiff
path: root/symbol
AgeCommit message (Collapse)Author
10 daysfeat: handle slice expressionsMarc Vertes
12 daysfix: improve handling of indirectionsMarc Vertes
Added 2 VM instructions, FnewE variant of Fnew with a dereference, and FieldE, variant of Field with dereference. It's now possible to pointers in structs and literal composites.
2026-01-08fix: improve composite literal for slicesMarc Vertes
2026-01-07fix: improve handling of composite literal struct expressionsMarc Vertes
2026-01-06fix: correct and simplify parsing of expressions.Marc Vertes
The expressions were parsed from right to left, and it was incorrect and cumbersome. Now they are processed from left to right, with a simpler and correct handling of precedence rules. The vm function call syntax has been changed to set the function before the input arguments on the stack, as to follow the declaring order in languages.
2025-12-04chore: move symbol types and functions in its own package.Marc Vertes