HeinrichApfelmus / hyper-haskell

The strongly hyped Haskell interpreter.
Other
361 stars 24 forks source link

Automated HTML rendering of notebooks #17

Open ejconlon opened 7 years ago

ejconlon commented 7 years ago

jupyter's nbconvert is very handy when rendering ipynb into HTML for report generation. It would be nice to have the same thing for hyper-haskell notebooks. To that end I have a dummy implementation here: https://github.com/ejconlon/hyper-eval . (I still have to set cwd right and use stack.yaml and such to configure the interpreter environment, but it works for Prelude examples.) Let me know if this is a feature you'd like to see!

HeinrichApfelmus commented 7 years ago

Oh, very nice!

At some point, I would like HyperHaskell to support this feature, indeed. But right now, I intend to focus on core features, delegating this to external tools like the one you wrote.

Perhaps you could upload it to Hackage? In that case, I would also recommend a slightly different name, e.g. hyper-to-html, as this would reflect more precisely what the tool does. But that is, of course, entirely up to you. :smile:

ejconlon commented 7 years ago

Sounds good to me.