Hacker News new | ask | show | jobs
by tomjen3 5604 days ago
What kinds of tools do you use to write literate scheme programs? It seems mighty interesting.
1 comments

Org-mode [1], actually; it has various mechanisms for embedding source code fragments in documents. The fragments can be evaluated when exporting to PDF, for instance; listed; or "tangled" (extracted) and compiled.

My projects usually evolve from a TODO file with source-code fragments for subproblems; then, by a process of conjugation, the fragments are tangled into viable products.

The TODO captures the evolution of the project, and follows the trajectory of eventually accepted or rejected ideas.

[1] http://orgmode.org/guide/Working-With-Source-Code.html