Expand control flow to a generic syntax? · Issue #17 · htmlx-org/HTMLx · GitHub
Skip to content

Expand control flow to a generic syntax? #17

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions