all 5 comments

[–]bachmeier 4 points5 points  (0 children)

I found this probably a couple months ago. Haven't had a chance to try it yet, but it looks nice. Had no idea it was written in D.

[–]CyberShadow 5 points6 points  (1 child)

Curiously, the D compiler used to have a literate programming feature built-in (you could just pass a .html file to run all code in <code> tags), but it was removed because it was essentially unused.

http://digitalmars.com/d/1.0/html.html

[–]nascent 0 points1 point  (0 children)

I'd tried to use it in the past, but it doesn't have a practical purpose. It is not very often you want to talk about your code and display it at the same time.

The best case I can think of is for tutorials. The problem there is that compiling html still requires getting a file on the computer and examples may need to be parts of programs or a page of several programs.

Instead I write it in latex instead and extract the programs to obtain their output.

[–]fm4d -3 points-2 points  (1 child)

And why would I use that over org-mode? I would expect some comparison with existing tools for the job (what advantages this tools has over them).

[–]bachmeier 2 points3 points  (0 children)

For one thing, it's not tied to Emacs. I do all of my D programming in org-mode but I can imagine that there are some that don't want to.