Skip to content

Support every keyword for second argument to loop statements #377

@dylanbeattie

Description

@dylanbeattie

First noted in cwfitzgerald/rockstar-webpiler#9

You can do this:

hash at "hello" is "world"
for value and key of hash
shout key with ":" with value
yeah

for every value and key of hash
shout the key with ":" with the value
yeah

But you can't you can't put 'every' before the SECOND loop variable:

for value and every key of hash
shout the key with ":" with value
yeah

Probably makes sense to add this, since I don't think it'll break anything and a lyric like For love and every beat of your heart kinda works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions