You are viewing archived messages.
Go here to search the history.

Jack Rusher 2023-03-14 08:00:22

We've just published our first academic paper about Clerk, in case anyone's interested:

🐦 Jack Rusher in Tokyo 🇯🇵: We (@mkvlr @unkai and myself) are in Tokyo to present our paper ‘Clerk: Moldable Live Programming for Clojure’ at Programming 23’s Programming Experience Workshop (PX23).

Of course we wrote the paper with Clerk and published it with Garden:

Konrad Hinsen 2023-03-16 07:40:02

That's a very nice overview of a very interesting approach to evolving the user interface of computing!

Konrad Hinsen 2023-03-16 09:32:18

Wondering: is Clerk reflective? Can the code inspect itself, and also the Markdown text in the same page? That's something I have found missing in Jupyter.

Jack Rusher 2023-03-16 09:59:05

The markdown parsing returns a clojure data structure that can be further manipulated before it is rendered to markup. You also have all the normal lisp-y meta-programming stuff, so you can reflect and modify and compile as you like.

Konrad Hinsen 2023-03-16 10:26:55

My interest is not so much to modify the rendering (though I see applications for that) as doing computations on the text. Something like a Clojure form that computes the number of words in the preceding paragraph. Or feeds it to GPT-4.

Jack Rusher 2023-03-17 04:43:56

Our markdown library returns a tree that can be further processed. The API for doing what you describe is probably a bit opaque atm tho, so I should fix that! 🙂