Skip to content

Add precedence operator to sequence definition #28

Description

@jvdb

For example:

sequence
  (a > b)*

Would then mean iteration over either a and/or b, but attempt to match a first. This is especially useful when dealing with specialized instances of existing structures. Currently this is sometimes done:

sequence
  (a b c)*
  (a b d)*

When what was really intended was:

sequence
  (a b c > d)*

Note: These two are not equivalent, but that's part of the problem.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions