Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repeat might not have to take a block #10

Open
kredati opened this issue Dec 14, 2023 · 0 comments
Open

Repeat might not have to take a block #10

kredati opened this issue Dec 14, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request next To do in a minute proposal A proposal to change the language syntax Syntactic forms

Comments

@kredati
Copy link
Contributor

kredati commented Dec 14, 2023

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.

@kredati kredati self-assigned this Dec 15, 2023
@kredati kredati added enhancement New feature or request syntax Syntactic forms proposal A proposal to change the language next To do in a minute labels Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request next To do in a minute proposal A proposal to change the language syntax Syntactic forms
Projects
None yet
Development

No branches or pull requests

1 participant