r/Clojure
OrgPad new API with EDN integration
API allows the full read and edit access to your data in OrgPad. The work was massive since OrgPad allows a lot of types of content and I wanted the API to be as simple to use as possible. Since OrgPad is written in Clojure, it allows aside JSON also EDN and Transit inputs/outputs.
legmacs demo : Emacs-like editor running on plan9 and displaying in Windows Terminal
Using Clojure as a sandboxed, executable target for LLMs
I've been researching ways to better structure LLM output when building mini-apps that run on the browser.
I believe that an S-expression based DSL is a better output format for LLMs when generating interactive UI/logic.
To test this, I built a Clojure-based interpreter that runs in the browser. The LLM is fed the language context, then emits the DSL to generate safe, sandboxed apps that can be shared instantly.
I wrote up an article diving into some of the trade offs:
https://allentraid.substack.com/p/we-made-the-ai-write-in-a-language
Would love to hear thoughts from the Clojure community!
BigConfig is now Colors
I have renamed BigConfig to Colors. The goal is still to fix DevOps but it was such big improvement over the original version that I have decided to change name. The gist is that you give your agent new skills to create a personal Paas, a K8s cluster, or any piece of infrastructure. The desired state is in YML and every package contains code in Clojure, Python, and TypeScript to reconcile your infrastructure with the desired state. Every codebase has also a SKILL.md so that you can delegate everything to your agent. Any feedback is welcome.
Joining Clojure shop. What should I know?
I will be writing primarily Clojure soon, after more than a decade of writing Scala. Do you have any hints or advice beyond what I can find in books or other learning resources?
Like competing approaches, nuances, political landscape, informal standards, footguns or anything like that?
Pnix - Runtime-based nix built in various languages
biff.datastar: lightweight, reactive, server-side-rendered web UIs
github.comChoq: Cherry on QuickJS
Choq: Choq: Cherry on QuickJS
A ~5MB binary chock full of scripting goodies.
This runs the cherry compiler inside an embedded QuickJS engine via rquickjs.
It supports nREPL, loading JS library from https://esm.sh, and has a few Node.js compatible packages built in like "fs", "path", etc.
Clorch - deep learning in Clojure
Hi all,
I'm releasing Clorch, a deep learning library in Clojure built on LibTorch.
Now we can run inference, build custom models, and train them all in Clojure, with no Python/PyTorch calls at all!
PyTorch-style tensors, autograd, neural-network modules (including LLM components), optimizers, data loading, CPU/CUDA support (including distributed GPU training) and all that jazz has been implemented :)
A quick survey for Clojure for data science
Hello everyone,
I have created a short survey (7 questions) about the suitability of Clojure (and Noj) for data science. What are its strengths? What are its weaknesses and what is missing? Your responses will be greatly appreciated. Do not hesitate to send the survey to other Clojure users. Thank you in advance and here is the link: