literate programming in D
Chris Cain via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Aug 30 11:34:55 PDT 2014
On Saturday, 30 August 2014 at 07:33:38 UTC, Philippe Sigaud
wrote:
> On Friday, 29 August 2014 at 23:58:19 UTC, Chris Cain wrote:
>> I used https://www.npmjs.org/package/literate-programming (+
>> pandoc) to do this when writing
>> https://dl.dropboxusercontent.com/u/2206555/uniformUpgrade.pdf
>> in markdown.
>
> Do you remember if some snippets can be hidden in the final
> documented output (I don't find that in this package)?
> I know the goal of LP is to explain your code, but I remember
> using that with other systems: that's useful when you don't
> want to show some plumbing (for a tutorial for example, where
> you want to concentrate on the main suject).
From what I remember, I don't think it could do that (or, at
least, it wasn't obvious/documented). I kinda wanted to do
something like that with the performance test section (setting up
the main function, importing, and such is just noise).
More information about the Digitalmars-d-learn
mailing list