summaryrefslogtreecommitdiff
path: root/interp/repl.go
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2026-01-21 19:26:42 +0100
committerMarc Vertes <mvertes@free.fr>2026-01-21 19:26:42 +0100
commitc922c797204069f42a7abf88500c5708f68a8e43 (patch)
treea0379dc6f6992f0ba077b028dfd4b031dd674d98 /interp/repl.go
parentee9397bc031dc33e4f735b3331643bbf60a0d17a (diff)
feat: add support for range clause and iterators
- vm: added Pull, Next and Stop instructions, to implement iterators - lang: add Range, Next and Stop tokens - parser: handle range clause. Still naive and incomplete. - comp: generate iterator instructions from range clause. Work in progress. Only initial support for slices. Many more tests and combinations needed, but the main pattern is there now.
Diffstat (limited to 'interp/repl.go')
0 files changed, 0 insertions, 0 deletions