Skip to content

Add while and for loop support (lowered to repeat) #4

Description

@quitism

Currently, only repeat (expr) is available for creating loops, which requires more manual code even for simple cases.

while and for loops could simplify this by providing higher-level constructs that are internally lowered to repeat, with additional logic executed before or after each iteration.

This would make common looping patterns easier to write while keeping the underlying implementation simple.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions