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

Expansion brackets. #25

Open
MattyCrowther opened this issue Mar 10, 2020 · 1 comment
Open

Expansion brackets. #25

MattyCrowther opened this issue Mar 10, 2020 · 1 comment

Comments

@MattyCrowther
Copy link
Collaborator

Expansion and Parameter list contains the same brackets ().
Might be useful to change expansion brackets to either:
{}
[]
<>
WhiteSpace.

@lgrozinger
Copy link
Collaborator

I like the whitespace idea, because I think that non-programming users are in general a little put-off by an over-abundance of brackets.

We'd have to figure out in the parser how to separate the argument list from the body of the expansion though, since shift/reduce conflicts would inevitably result from an 'any whitespace' rule. This probably isn't trivial, but it could be done by adding some backtracking logic to the parser.

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

No branches or pull requests

2 participants