Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ordered tag mode #132

Open
TinoDidriksen opened this issue Oct 18, 2023 · 0 comments
Open

Ordered tag mode #132

TinoDidriksen opened this issue Oct 18, 2023 · 0 comments

Comments

@TinoDidriksen
Copy link
Member

A mode where tag order actually matters. --ordered currently doesn't do much.

Options and rule flags Ordered/Unordered to change the mode for whole grammar/rules.

Opt-in for composite tags with placeholders:

  • _ a single tag
  • + one-or-more tags
  • * zero-or-more tags

If a composite tag has any of the placeholders, it opts in to ordered consecutive mode. Maybe have options and rule flags for forcing consecutive on all tags.

See also #42

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

No branches or pull requests

1 participant