What does HackerNews think of clerk?

⚡️ Moldable Live Programming for Clojure

Language: Clojure

#10 in Clojure
Checkout Clerk from the Clojure community [0]. Presumably it would be possible to extend a new language like Mojo (Python-superset) to support that kind of dev workflow to AI.

[0] https://github.com/nextjournal/clerk

I've been really enjoying using Clojure with Clerk: https://github.com/nextjournal/clerk

It's a bit like a Jupyter notebook, but you get to use your own editor, you still have a normal Clojure REPL, it's stored in git like "normal" code, etc.

For exploratory, information processing type work, it's pretty great.

Demo here: https://www.youtube.com/watch?v=3bs3QX92kYA

> The state of the in-memory image had gotten totally out of sync with the codebase.

I have not used it, but I heard that Clojure Clerk is supposed to help with this.

https://github.com/nextjournal/clerk

I was looking for a new data notebook toy to ease the tedium of reporting some metrics.

I found the clojure-based https://github.com/nextjournal/clerk which I like the look of and remember clojure being rather pleasing interactively.

That lisp and Julia might have some commonality made me look for something similar (that isn't jupyter) for Julia. Seems like https://github.com/fonsp/Pluto.jl is such a thing.

Does anyone have any experience of either they could share?

There’s a tool called Clerk which among other things resolves this concern about out of sync definitions https://github.com/nextjournal/clerk
Literate programming is going to feel far more powerful when we expand the definition to include:

- Smalltalk-ish things like writing suites of custom viewers for various types, - demos and examples in-line inside of a library - multiple stories about the same piece of code, but all with the ability to IMPORT the story as a library

I've been writing sicmutils[0] as a "literate library"; see the automatic differentiation implementation as an example[1].

A talk I gave yesterday at ELS[2] demos a much more powerful host that uses Nextjournal's Clerk[3] to power physics animations, TeX rendering etc, but all derived from a piece of Clojure source that you can pull in as a library, ignoring all of these presentation effects.

Code should perform itself, and it would be great if when people thought "LP" they imagined the full range of media through which that performance could happen.

[0] sicmutils: https://github.com/sicmutils/sicmutils

[1] autodiff namespace: https://github.com/sicmutils/sicmutils/blob/main/src/sicmuti...

[2] Talk code: https://github.com/sritchie/programming-2022

[3] Clerk: https://github.com/nextjournal/clerk