Hacker GitHub

← All repos

shreevatsa/knuth-literate-programs

View on GitHub ↗ ★ 41 CWeb

Examples of literate programming by Knuth

13 mentions on Hacker News by 1 person: 0 stories, 13 comments · first 2017-10-11 · latest 2024-06-01

Mentions per year 13 mentions · busiest year 2018 (6)
20082026
  1. …generates a .tex file), and then typeset. In this case, I have a (not very up-to-date) repo at https://github.com/shreevatsa/knuth-literate-programs of the literate programs from Knuth's website, and othello.pdf is here:…
    comment by svat · 2024-06-01 · in Donald E. Knuth's Homepage
  2. …case study of the ADVENTURE program ( http://literateprogramming.com/adventure.pdf or download from https://github.com/shreevatsa/knuth-literate-programs/blob/m... for working hyperlinks). I think that even though the program was written…
  3. …of them are in CWEB so to help people who don't have `cweave` installed, I typeset them in 2017: https://github.com/shreevatsa/knuth-literate-programs/tree/m... — I ought to update the repository sometime.)
  4. …towards details of the program code itself.) As that's a large example, pick a small one like this: https://github.com/shreevatsa/knuth-literate-programs/blob/m... -- there is an intro page about the problem and cache size etc., but most…
    comment by svat · 2020-02-28 · in Was Knuth Really Framed?
  5. …and keeps most of them to himself; the ones published online before Sep 2017 I had typeset here: https://github.com/shreevatsa/knuth-literate-programs -- I ought to clean up and refresh that stuff.) - Finally, WEB arose out of certain…
    comment by svat · 2020-02-25 · in Donald Knuth was framed
  6. …gazine.org/mathematician-solves-computer... [10]: https://news.ycombinator.com/item?id=20531987 [11]: https://github.com/shreevatsa/knuth-literate-programs/blob/9... [12]: http://ed-thelen.org/comp-hist/B5000-AlgolRWaychoff.html#7 [13]:…
  7. …dance.w from his website (or if you don't have cweave handy, download the program from here: https://github.com/shreevatsa/knuth-literate-programs/blob/m... and click around on the hyperlinks) — all the backtracking happens inside “main”;…
    comment by svat · 2018-12-18 · in The Yoda of Silicon Valley
  8. …the ones that Knuth writes mainly for himself (see https://cs.stanford.edu/~knuth/programs.html or https://github.com/shreevatsa/knuth-literate-programs/tree/m... ). I don't think continuing to work on it, versus calling them done for now,…
  9. …is his natural activity, so everything is optimized for that. I read a few of Knuth's programs ( https://github.com/shreevatsa/knuth-literate-programs/tree/m... ) a while ago, the intended way: printed them out and read them while sitting…
  10. …s://twitter.com/svat/status/913114286951505920 , https://twitter.com/svat/status/885344334735745024 , https://github.com/shreevatsa/knuth-literate-programs/blob/m... ) — so it seems really hard to understand that a comment that seems to be…
  11. …if you don't have the patience to install CWEB and run cweave+tex on them, I've typeset them here: https://github.com/shreevatsa/knuth-literate-programs/tree/m... — last updated September; needs another update.)
  12. …to read and run those programs respectively; if you just want to read I've typeset them here: https://github.com/shreevatsa/knuth-literate-programs/tree/1... ) Knuth has also given a couple of talks about satisfiability around the time he…
  13. …[7]: http://www.cs.stanford.edu/~knuth/programs.html (I've generated PDF versions: https://github.com/shreevatsa/knuth-literate-programs/tree/1... )
    comment by svat · 2017-10-11 · in Handwriting Programs in J