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

Create visual parse trees from ChunkedSentences #11

Open
creswick opened this issue Nov 7, 2014 · 0 comments
Open

Create visual parse trees from ChunkedSentences #11

creswick opened this issue Nov 7, 2014 · 0 comments

Comments

@creswick
Copy link
Owner

creswick commented Nov 7, 2014

It would be nice to have visual trees generated from ChunkedSentences, ideally in a way that would work with IHaskell, but just generating PNGs or other open formats would be great.

I envision an API like this:

typeclass ShowTree a where
  showTree :: a -> SomeImageFormat

There shouldn't need to be any IO in that function, but I can imagine other parameters coming into play (resolution, DPI, color palette, etc...) but even a basic approach would be great. This would be primarily for debugging/experimentation.

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

1 participant