3 ms·
Sounds like a job for Literate Programming.[1] This could also be done, for instance, in org-mode, with embedded source-code blocks. Normally, the source in t
by pmoriarty 7y ago
Sounds like a job for Literate Programming.[1]
This could also be done, for instance, in org-mode, with embedded source-code blocks.
Normally, the source in the org's source code blocks live directly in the org document itself, but there's no reason it couldn't pull in the source from external documents instead. I wouldn't be surprised if there's isn't already an extension or org feature that does this.
[1] - https://en.wikipedia.org/wiki/Literate_programming https://en.wikipedia.org/wiki/Literate_programming