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

Containers and commas #37

Closed
KronicDeth opened this issue Nov 1, 2014 · 1 comment
Closed

Containers and commas #37

KronicDeth opened this issue Nov 1, 2014 · 1 comment

Comments

@KronicDeth
Copy link
Owner

Implementing commas as operators in #29 does not makes sense as unlike other operators, commas should parse a list of expressions (that don't themselves contain commas) instead of nested binary operations. elixir_parser.yrl is able to get away with parsing commas as binary expressions because the yrl format allows the elements of a given rule to be concatenated into a flattened list. To do this in the bnf format for Grammar Kit I need to actually write a list like expression, which means separating operations into a different rule than comma so that comma only contains comma-less direct children to prevent left-recursion.

@KronicDeth KronicDeth mentioned this issue Nov 2, 2014
This was referenced Nov 16, 2014
@KronicDeth
Copy link
Owner Author

Closing in favor of smaller, decomposed issues: #66, #67, #68, and #69

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