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

Investigate other nonterminal identification approaches #5

Open
noughtmare opened this issue Jun 12, 2023 · 0 comments
Open

Investigate other nonterminal identification approaches #5

noughtmare opened this issue Jun 12, 2023 · 0 comments
Labels

Comments

@noughtmare
Copy link
Owner

One promising approach is data-reify described in Type Safe Observable Sharing in Haskell. Unfortunately, this isn't straightforward for gigaparsec because our nonterminals might take arguments as input, such as the base of the number parser and the go in the ndots parser. But perhaps it is possible to use a similar approach and get rid of the unsafe ... ::= labels.

Or perhaps there are other approaches that do work for our use case.

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

No branches or pull requests

1 participant