Skip to content

Expand control flow to a generic syntax? #17

Open

Description

@aredridel

It seems that there could be a grammar that says one {#token arguments}, other syntax, n {:otherToken arguments} , other syntax, {/token} as a general pattern — it'd handle if, else, await, then, try, catch and each at least. It would require specifying productions for arguments that include, perhaps barewords and javascript expressions to allow a parser to remain generic.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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