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

Document grammar macro shorthands #41

Open
ReubenJ opened this issue Dec 18, 2023 · 0 comments
Open

Document grammar macro shorthands #41

ReubenJ opened this issue Dec 18, 2023 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@ReubenJ
Copy link
Member

ReubenJ commented Dec 18, 2023

Make sure we explicitly document the 3 cases:

  • |(1:3)
  • |([1,2,3])
  • 1|2|3

To discuss: possibly formalize the shorthand with a grammar of its own and pass off parsing to something like ParserCombinator.jl? That way we don't rely as much on reasoning about our implementation being correct.

@ReubenJ ReubenJ added the documentation Improvements or additions to documentation label Dec 18, 2023
@ReubenJ ReubenJ self-assigned this Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant