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

User-defined pretty printers #119

Open
mrdomino opened this issue Jan 3, 2015 · 1 comment
Open

User-defined pretty printers #119

mrdomino opened this issue Jan 3, 2015 · 1 comment

Comments

@mrdomino
Copy link

mrdomino commented Jan 3, 2015

It'd be nice to enable users to tell hammer how to print their types. Maybe add a predicate type for it.

This is necessary, unless I'm missing something, for benchmarking of parsers with user-defined types.

@thequux
Copy link
Member

thequux commented Jan 4, 2015

I like this idea, and it could fairly easily be done by making h_pprint table driven. I'll look at that tomorrow.

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

No branches or pull requests

2 participants