Repeat might not have to take a block #10

Closed
opened 2023-12-14 05:09:02 +00:00 by kredati · 1 comment
kredati commented 2023-12-14 05:09:02 +00:00 (Migrated from github.com)

At current, repeat always takes a block after its times expression (a number or a word, nothing else). I thought that was necessary for parsing.

But you could have repeat {word|number} {expression}.

This could lead to light duty weirdness like repeat 4 forward! (100), but that's pretty readable, after all.

To reconsider.

At current, `repeat` always takes a block after its times expression (a number or a word, nothing else). I thought that was necessary for parsing. But you could have `repeat {word|number} {expression}`. This could lead to light duty weirdness like `repeat 4 forward! (100)`, but that's pretty readable, after all. To reconsider.
scott self-assigned this 2023-12-15 21:25:22 +00:00
scott added
now
and removed
next
labels 2023-12-18 05:48:23 +00:00

Closed by #19

Closed by #19
scott closed this issue 2023-12-24 19:17:46 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: twc/ludus#10
No description provided.