home.social

#literateprogramming — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #literateprogramming, aggregated by home.social.

  1. I recently got back to my work on literate #GRASP, and I think things finally started to look good. I implemented a new document representation (the previous one was built from cons-cells and multiple hacks), and I have some working tests that are capable of rendering this representation to "unicode-art" strings, and I'm currently working on a new parser that would work well with that representation.

    I still have a long way to go before I get a running system, and I don't think it's a very good literature, but if you're a #Scheme maniac or a fan of #LiterateProgramming and you don't find the #Java runtime environment too repulsive, I invite you to follow the work and provide your feedback:

    github.com/panicz/grasp/blob/m

    Currently, when exported to pdf, the document has about 100 pages, and it mainly describes language extensions that were developed for Kawa Scheme to develop GRASP. I think it might be a delight to people who enjoy studying language extensions, but unfortunately the part about the architecture and implementation of GRASP has yet to be developed.

    (the document is written in #Emacs #OrgMode using its #noweb component for literate programming. I recommend reading it from Emacs rather than from its github preview)

  2. 1990's literate programming: this is the future! everyone will be writing software like this!

    AGENTS.md

    LP: oh no!

    #programmingLanguages #literateProgramming #cweb #llm

  3. Really enjoying this month’s #Emacs Carnival on #orgmode — especially the focus on #orgbabel!
    Huge thanks to @donaldh for curating the topics.

    For me, #orgbabel is where documentation, data, and computation truly meet — it turns notes into living, reproducible workflows.

    I’ve written down why I think org-babel is a *ROOT technology*:
    lukascbossert.de/posts/org-bab

    #Emacs #ROOT #LiterateProgramming

  4. [ToRead] M. Le Béchec ; C. Gruson-Daniel ; C. Lascombes ; É. Schultz - Notebook and Open science: toward more FAIR play jdmdh:13428-Journal of Data Mining & Digital Humanities, 16 déc. 2024, Atelier Digit\_Hum=> doi.org/10.46298/jdmdh.13428
    #FAIRprinciples #openscience #notebooks #literateprogramming #DH

  5. #Tech #Rant One thing I dislike about #LiterateProgramming in #OrgMode is that code chunks are not cross-referenced or labeled in the finished document, as they are in #noweb. #GNU #Linux #Emacs #programming

  6. What do other #OrgMode #OrgBabel users do in #emacs when they need to create a new block very similar to the previous one while #LiterateProgramming? 🤔

    Do you have a function or do you just do it manually like:

    C-c C-v C-p ;; org-babel-previous-src-block
    M-h ;; org-mark-element
    M-w ;; kill-ring-save
    C-x C-@ ;; pop-global-mark

    I find I run into this case a lot, do others?

  7. In July, we'll celebrate the 50th (or 10th) anniversary of that seminal presentation @worrydream on the #FutureOfProgramming.
    worrydream.com/dbx/
    Coupled with Victor's work on Learnable Programming, I find links to #LiterateProgramming... which tie nicely with the diverse ways we have to create learning resources, especially #OERs leveraging #FreeSoftware tools. #Jupyter, #Quarto, #PreTeXt, etc.

  8. CW: Literate Programming

    "Let us change our traditional attitude to the construction of programs: Instead of imagining that our main task is to instruct a computer what to do, let us concentrate rather on explaining to human beings what we want a computer to do." - Donald Knuth

    "Literate Programming", The Computer Journal 27 (1984), p. 97. (Reprinted in Literate Programming, 1992, p. 99.)

    #LiterateProgramming #Literate #Programming #Knuth

  9. #emacs package/blog/literate program of the day: `ob-p5js`

    I wrote this package during an afternoon in a #LiterateProgramming fashion, maybe some people have never seen how to write #OrgBabel packages in #OrgMode. Also if you don't know #processing, #p5 or #p5js it might be a good resource to get motivated!

    What I like about this is that I can write many interactive visualizations in the same html file with #OrgMode seamlessly.

    alejandrogallo.github.io/blog/

    github.com/alejandrogallo/ob-p

  10. Has anybody tried #LiterateProgramming for a non-trivial tool?
    (Yes, I know about Axiom already.)

    Maybe even with #orgmode and #noweb? Maybe #Python? Maybe using a public repository?

    en.wikipedia.org/wiki/Literate