Fork me on GitHub
#emacs
<
2021-10-11
>
futuro17:10:03

Does anyone have a favorite way of doing literate programing with Clojure? I'm reading Dragan Djuric's NLFP and want to leverage a more literate programming style for my notes instead of putting my prose in comments in a CLJ file.

solf17:10:38

On the other hand, you can also keep using comments in a CLJ file with the newly released clerk notebook

1
futuro17:10:54

That's an interesting idea; I've been meaning to explore nextjournal

solf17:10:43

If I understand correctly, you don’t have to use nextjournal to use clerk (you run it locally)

solf17:10:49

but I might be wrong here

futuro17:10:22

That's legit; I only have the foggiest understanding of nextjournal, so my previous comment is most likely mostly inaccurate 🙂

sebastian18:10:49

Adam does a lot of literate programming in Clojure with org mode. You could check out this repo https://github.com/adam-james-v/radish and others of his. He also streams his endeavors on Twitch. Some portions of it land on Youtube. https://www.youtube.com/c/AdamJames-tv/featured Just for some inspiration of his workflow.

1
👍 2
futuro17:10:50

I've been thinking about using Org mode with a clojure mode for source blocks and shared sessions, but I'm not sure if that has pitfalls I can't see (and I'm hoping to accidentally spend hours yak-shaving 😬 )