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

Generate IsString instances #192

gdetrez opened this issue Nov 4, 2016 · 1 comment

Generate IsString instances #192

gdetrez opened this issue Nov 4, 2016 · 1 comment


Copy link

gdetrez commented Nov 4, 2016

BNFC should generate IsString instances for Ident all the user-defined token types.

That would make it easier to build trees when using BNFC to generate pretty printers for code generation.

@gdetrez gdetrez self-assigned this Nov 4, 2016
gdetrez added a commit that referenced this issue Nov 4, 2016
The newtype created for Ident and user-defined tokens are now instances
of IsString. This makes it easier to build tree if you want to use
bnfc's pretty printer for code generation.

Close #192
@andreasabel andreasabel added this to the 2.8.4 milestone Jan 3, 2020
@andreasabel andreasabel assigned andreasabel and unassigned gdetrez Jan 3, 2020
Copy link

I fixed this afresh, not using the existing solution #284, which does not merge reasonably any more.

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

Successfully merging a pull request may close this issue.

2 participants