literate programming in D

bachmeier via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Aug 26 10:26:30 PDT 2014


On Tuesday, 26 August 2014 at 14:55:08 UTC, nikki wrote:
> I've been googling without luck, is there a way to do literate 
> programming in D?, similar to how it's done in Coffeescript ?
>
> http://www.coffeescriptlove.com/2013/02/literate-coffeescript.html
>
> basically me writing comments around code and some parser that 
> creates styled documents from that (with highlighted source 
> code), the current documentation system doesn't export the 
> source code.
>
> anybody done this before?

Would org-mode in Emacs work for you? That's what I use.

http://orgmode.org/worg/org-contrib/babel/intro.html


More information about the Digitalmars-d-learn mailing list