News for hackers. Stuff that matters.
Re:Ask HN: What's the best source code you've read? by nesarkvechnep on Sunday September 11, 2022 @02:54AM (#32797411)
The same thing. I don’t see chunk reuse, nor the ability to generate standalone documentation or export the code to files.

Have you seen actual literate programming documents? The Noweb tool’s page has examples.

Re:Ask HN: What's the best source code you've read? by tlarkworthy on Sunday September 11, 2022 @06:45AM (#32798526)
The imports are chunk reuse. Each notebook is an es6 module you can import from any npm package.json You don't need to export it as documentation, it is executable documentation which is better, though you can print it if you want. The footer backs up the source to github

Your stuck on Knuth's definition of literate programming but this is better than that

Re:Ask HN: What's the best source code you've read? by aljungberg on Sunday September 11, 2022 @03:45AM (#32797620)
Sounds like nbdev which indeed exports code and documentation from a single notebook, plus unit tests for external execution.