For loops #11

Merged
HEL merged 5 commits from feat/for-loops into main 2026-06-15 22:51:12 +00:00
Owner

This short PR adds basic support for for loops.
There are still some limitations:

  • no else body
  • iterated value must implement __getitem__, i.e. no support for __iter__ yet
  • same restrictions as for assignments apply to the target, e.g. no unpacking
  • breaks are not yet supported
This short PR adds basic support for `for` loops. There are still some limitations: - no `else` body - iterated value must implement `__getitem__`, i.e. no support for `__iter__` yet - same restrictions as for assignments apply to the target, e.g. no unpacking - `break`s are not yet supported
HEL self-assigned this 2026-06-15 22:51:04 +00:00
HEL added 5 commits 2026-06-15 22:51:05 +00:00
HEL merged commit 2e5cf6f8a2 into main 2026-06-15 22:51:12 +00:00
HEL deleted branch feat/for-loops 2026-06-15 22:51:12 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: HEL/midas#11