summaryrefslogtreecommitdiff
path: root/vm/op_string.go
AgeCommit message (Collapse)Author
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-02feat: support of struct literal compositeMarc Vertes
Added missing vm instructions to allocate a typed value on the stack and to set a structure field. It's possible now to generate struct literal composites for non keyed struct fields.
2025-11-26Chore: improve tracing of code emitsMarc Vertes
2025-11-14fix: refactor VM instruction typeMarc Vertes
Use custom types for VM instructions. More idiomatic code for tracing.