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

Allow generators to have other grammar elements as arguments #181

Open
andreas-zeller opened this issue Dec 17, 2024 · 0 comments
Open

Allow generators to have other grammar elements as arguments #181

andreas-zeller opened this issue Dec 17, 2024 · 0 comments
Labels
prio: high High priority issue

Comments

@andreas-zeller
Copy link
Collaborator

Allow generators to have other grammar elements as arguments. This could be used to tie abstraction layers to each other, as in

<chunk> ::= <header> <compressed_content> <trailer>;
<compressed_content> ::= <byte>* := compress(<content>);
<content> ::= <foo> <bar> <baz> := uncompress(<compressed_content>);

where <compressed_content> could thus be derived from <content>, and vice versa.

@andreas-zeller andreas-zeller added the prio: high High priority issue label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
prio: high High priority issue
Projects
None yet
Development

No branches or pull requests

1 participant