You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
At present, adding a repeating sequence of command is more painful than necessary as it is not supported directly by Chimera. Developers wishing to add a repeating sequence need to manually iterate over each sequence and append it to the leaf of the previous sequence.
This is both unwieldy since it needs to be manually re-coded for each repeating sequences and error-prone since iteratively adding sequences requires juggling multiple conditions and variables.
Describe the solution you'd like
We propose adding a repeating(int times) method to Literal and Argument, and their respective builders to facilitate adding repeating sequences.
Additional context
This issue was first raised by MrLn on Discord.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
At present, adding a repeating sequence of command is more painful than necessary as it is not supported directly by Chimera. Developers wishing to add a repeating sequence need to manually iterate over each sequence and append it to the leaf of the previous sequence.
For example:
This is both unwieldy since it needs to be manually re-coded for each repeating sequences and error-prone since iteratively adding sequences requires juggling multiple conditions and variables.
Describe the solution you'd like
We propose adding a
repeating(int times)
method toLiteral
andArgument
, and their respective builders to facilitate adding repeating sequences.Additional context
This issue was first raised by
MrLn
on Discord.The text was updated successfully, but these errors were encountered: