Re: literate programming in D

2014-09-04 Thread nikki via Digitalmars-d-learn
On Friday, 29 August 2014 at 23:41:00 UTC, bearophile wrote: nikki: I use it to change my d sourcefile slightly (into valid markdown) then I use a node module (ghmd) to make sortof sexy html from that. Are you going to add popups of the types as in the F# page I have linked? Bye,

Re: literate programming in D

2014-09-04 Thread nikki via Digitalmars-d-learn
I should have read your post more carefully, the 'tagging' in the code is not really what I am after, I want the file including the documentation to just be a valid d file, does'nt mean however that there aren't ways of solving the issue without such precise tagging I guess

Re: literate programming in D

2014-09-04 Thread Philippe Sigaud via Digitalmars-d-learn
Ah that sounds interesting too! Immediately I start thinking in terms like tidlywiki http://tiddlywiki.com/ or something similar, I guess the emacs way described earlier also would support this. I personally always enjoy reading the readthedocs stuff http://docs.readthedocs.org/en/latest/ is

Re: literate programming in D

2014-08-30 Thread Philippe Sigaud via Digitalmars-d-learn
On Sat, Aug 30, 2014 at 1:37 AM, nikki wrote: I wasn't too happy about it and I wrote my own little parse thingie and have a literate version nice and meta and small and sloppy ;) http://nikkikoole.github.io/docs/dokidokDOC.html I use it to change my d sourcefile slightly (into valid

Re: literate programming in D

2014-08-30 Thread Philippe Sigaud via Digitalmars-d-learn
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

Re: literate programming in D

2014-08-30 Thread Chris Cain via Digitalmars-d-learn
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

Re: literate programming in D

2014-08-29 Thread nikki via Digitalmars-d-learn
I wasn't too happy about it and I wrote my own little parse thingie and have a literate version nice and meta and small and sloppy ;) http://nikkikoole.github.io/docs/dokidokDOC.html I use it to change my d sourcefile slightly (into valid markdown) then I use a node module (ghmd) to make

Re: literate programming in D

2014-08-29 Thread bearophile via Digitalmars-d-learn
nikki: I use it to change my d sourcefile slightly (into valid markdown) then I use a node module (ghmd) to make sortof sexy html from that. Are you going to add popups of the types as in the F# page I have linked? Bye, bearophile

Re: literate programming in D

2014-08-29 Thread nikki via Digitalmars-d-learn
On Friday, 29 August 2014 at 23:41:00 UTC, bearophile wrote: nikki: Are you going to add popups of the types as in the F# page I have linked? Bye, bearophile Now then you could remove the sortof from that sexy

Re: literate programming in D

2014-08-29 Thread Chris Cain via Digitalmars-d-learn
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

literate programming in D

2014-08-26 Thread nikki via Digitalmars-d-learn
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

Re: literate programming in D

2014-08-26 Thread bearophile via Digitalmars-d-learn
nikki: I've been googling without luck, is there a way to do literate programming in D? D1 had built-in support for literate programming, but it was removed from D2 because it was regarded as not useful enough: http://digitalmars.com/d/1.0/html.html I find literate Haskell programs all

Re: literate programming in D

2014-08-26 Thread nikki via Digitalmars-d-learn
Aha, then It's quite safe to assume it won't be coming back I guess, then I might need to cook up some homebrew alternative. thanks for the info

Re: literate programming in D

2014-08-26 Thread bachmeier via Digitalmars-d-learn
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

Re: literate programming in D

2014-08-26 Thread nikki via Digitalmars-d-learn
That would work very fine, thanks sir!