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

Use wl-pprint-extras to replace the pretty-printer #9

Open
np opened this issue Oct 8, 2015 · 0 comments
Open

Use wl-pprint-extras to replace the pretty-printer #9

np opened this issue Oct 8, 2015 · 0 comments

Comments

@np
Copy link
Owner

np commented Oct 8, 2015

The current printer is a hack, as much as what BNFC produces to be fair.

We would replace the printer if the need for width sensitive printing become too important.

Options:

  • Teach BNFC how to use a proper pretty-printer (would be the best)
  • Keep most of the existing printer and somehow adapt the render function to use the API from wl-pprint-extras (the cheapest but not sure this works)
  • Just write a proper printer

One might wait a little that the syntax stabilizes though.

@np np added the enhancement label Oct 8, 2015
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