2 ms·
Again, I'm having a hard time understanding what the issue is. It seems like you are deeply confused about what literate programming is and how it works. Have
by llm_trw 2y ago
Again, I'm having a hard time understanding what the issue is. It seems like you are deeply confused about what literate programming is and how it works.
Have you read the original paper here in full: http://www.literateprogramming.com/knuthweb.pdf http://www.literateprogramming.com/knuthweb.pdf ?
All of the navigation issues are taken care of by using <<chunks of code>> in a nested structure. You follow the numbers in those, like a follow your own adventure game, to find out whatever you need.
The index has a listing of everything used in the program along with where it was defined and where it was used in case you want to find something specific.
More modern tools, like NoWeb, turn all of this into hyperlinks so you can jump around the pretty printed version without having to loop up page numbers.
- oersted 2y agoI have read the paper in the past, I am well versed about WEB, and I believe I have done literate programming at length for a number of non-trivial projects. I have explained my thinking in a separate comment (apologies for creating two branches). In short, I do think you are right and that I had an overly romantic notion of Literate Programming in mind.