Eelis / cxxdraft-htmlgen

Generates https://eel.is/c++draft
Other
168 stars 13 forks source link

Feature request: generate arbitrary chunks #72

Closed hatcat closed 4 years ago

hatcat commented 4 years ago

I would like to be able to generate a small 5 page chunk of the standard, pinned to N4861, for example from [stmt.stmt] through to [stmt.for] inclusive, perhaps with a syntax like http://eel.is/c++draft/stmt.stmt:stmt.for

Unfortunately, I have no Haskell. Would you be able to implement this feature?

Eelis commented 4 years ago

This would probably be doable if the pages were generated dynamically. However:

hatcat commented 4 years ago

Thanks Eelis. Particularly, there are 365 chunks I want generated. Would this simplify things? If, for example, I provided 365 stable-index ranges, would that work? if it's too much effort, I quite understand: maybe I'll fork, learn me some Haskell and see what happens.

Eelis commented 4 years ago

Yeah, I would only be interested in implementing this myself if I could make it a general facility that works for arbitrary ranges. So for a more specialized application, I think you'd better fork, yes.