[Syntax] Support for loops and repetitions #10
Labels
No labels
bug
discussion
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gram-lang/gram#10
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Some cooking processes require repeating a sequence of actions multiple times.
Use Cases
Beyond the classic lamination/folding for puff pastry (
[Repeat x3] Fold, turn. Rest ~&{30 min}.), this syntax is necessary for:Goal and Impact
Create a dedicated syntax for repeated actions. The main impact is that the analyzer and the Gantt timeline must be able to multiply the actual time of the step by the number of iterations, ensuring the overall recipe time is not undercounted.
I'm still hesitating on whether this really is a useful syntax addition or if it is too niche ?