(λ. borkdude)
borkdude.bsky.social
(λ. borkdude)
@borkdude.bsky.social
#clojure (#cljKondo, #babashka) * functional programming * whole food plant based * progressive rock+metal * ♥ @lalage_ * http://github.com/borkdude
In edamame you can now provide a function for :features so you can pick the first, if you just want to scan the file for syntax errors and just read it 1x

user=> (e/parse-string "#?(:mylang :dude :clj 1 :cljs 2)" {:read-cond :allow :features (constantly true)}) :dude

#clojure
November 10, 2025 at 11:18 PM
A mashup between reagami and webcomponents. I don't know why you would do this, but you can!

#clojure #clojurescript #squintcljs

squint-cljs.github.io/squint/?src=...
November 10, 2025 at 12:39 PM
Fun matters #clojure #babashka
November 8, 2025 at 12:24 PM
pr-str, prn, etc now print EDN instead of JSON in squint, as you can see in this beautiful draggable button demo

#clojure #clojurescript #squintcljs

squint-cljs.github.io/squint/?src=...
November 8, 2025 at 10:45 AM
In edamame you can intercept the parsing of maps, so you could even return ordered maps for custom types like js/Map

user=> (e/parse-string "#js/map {:a 1 :b 2}" {:map (fn [& m] m) :readers {'js/map (fn [x] (prn :x x))}})
:x (:a 1 :b 2)

github.com/borkdude/eda...

#clojure #clojurescript
GitHub - borkdude/edamame: Configurable EDN/Clojure parser with location metadata
Configurable EDN/Clojure parser with location metadata - borkdude/edamame
github.com
November 8, 2025 at 10:22 AM
You can't make this shit up. I wanted to implement prn (for printing EDN) in #squintcljs so I created a branch named "prn". But it turns out you can't name a file prn (or prn.extension) in Windows so Windows CI failed.
Unable to create remotes/origin/prn.lock': Invalid argument
November 7, 2025 at 10:53 PM
My upcoming conj talk finally fits within the "max 1 minute per slide" budget after practicing more and deleting more stuff (and not deleting much of the essence)...

#clojureconj
November 7, 2025 at 8:41 PM
Out of band DOM updating (manually messing with DOM elements) counter example in Reagami

#clojure #clojurescript #squintcljs

squint-cljs.github.io/squint/?src=...
November 7, 2025 at 1:26 PM
Setting a piece of static HTML for whatever reason. Reagami doesn't make you jump through hoops to do so :)

squint-cljs.github.io/squint/?src=...
November 6, 2025 at 6:59 PM
Of all the "npm" (CLI) alternatives I've tried pnpm somehow has the nicest vibe to it. It's fast and I feel it doesn't get in the way as much as yarn.
November 6, 2025 at 3:24 PM
Using reagami from JS

codepen.io/borkdude/pen...
November 5, 2025 at 1:51 PM
The on-render hook in reagami just got more awesome. You can now pass data from mount to update to unmount, by just returning data!

#clojure #clojurescript #squintcljs

squint-cljs.github.io/squint/?src=...
November 5, 2025 at 11:12 AM
Reagami now has an on-render hook that you can use to mount/update/mount a 3rd party JS component.

#clojure #clojurescript #squintcljs

Demo:

squint-cljs.github.io/squint/?src=...
Squint
squint-cljs.github.io
November 3, 2025 at 3:45 PM
Here are my September and October 2025 OSS highlights and updates.

blog.michielborkent.nl/oss-updates-...

Thanks for supporting my work!
And perhaps see you at the Conj?

#clojure #clojurescript #squintcljs #cljKondo #babashka
November 3, 2025 at 10:46 AM
The next clj-kondo will resume linting even after paren mismatches / omissions / extra trailing parens

#clojure #cljKondo
November 1, 2025 at 3:20 PM
I'm trying to cut down the time of my upcoming Clojure Conj talk but every time I work on it, I end up with more slides...
November 1, 2025 at 10:09 AM
This is fun
October 30, 2025 at 10:53 PM
A hack to get reitit working from source in #babashka #clojure

gist.github.com/jeroenvandij...
bb_reitit_demo_openapi.clj
GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
October 30, 2025 at 8:06 PM
Reposted by (λ. borkdude)
Also since this is the first public mention of the Logseq CLI, I'd like to thank @borkdude.bsky.social for #nbbcljs. Rapid development and reuse of Logseq's core for the CLI is possible thanks to github.com/babashka/nbb
GitHub - babashka/nbb: Scripting in Clojure on Node.js using SCI
Scripting in Clojure on Node.js using SCI. Contribute to babashka/nbb development by creating an account on GitHub.
github.com
October 30, 2025 at 4:15 PM
Edamame, a configurable parser for EDN and Clojure code now supports ClojureCLR! Thanks to Ambrose Bonnaire-Sergeant.

github.com/borkdude/eda...

#clojure #clojurescript #clojureclr
GitHub - borkdude/edamame: Configurable EDN/Clojure parser with location metadata
Configurable EDN/Clojure parser with location metadata - borkdude/edamame
github.com
October 28, 2025 at 7:10 PM
My wife is telling me to sort my DNS records out
October 27, 2025 at 8:46 PM
Reagami, my copy-pastable Reagent-without-React-like lib was ported to CLJS (minimal changes needed) and now can even run in a SCI:

babashka.org/sci.configs/...

You can also run/w regular CLJS, maybe interesting with :lite. Git repo: github.com/borkdude/rea...

#clojure #clojurescript #squintcljs
SCI Playground
babashka.org
October 26, 2025 at 1:00 PM
A blog post about a Reagent-like library with zero dependencies in less than 100 LOC: Reagami

blog.michielborkent.nl/reagami.html

You can find the repo here: github.com/borkdude/rea...

#clojure #clojurescript #squint
Reagami: a Reagent-like library in less than 100 lines of Squint CLJS
blog.michielborkent.nl
October 24, 2025 at 7:51 PM
Boring crud example with a 100 line Reagent-like app

#clojure #clojurescript #squint

squint-cljs.github.io/squint/?src=...
October 24, 2025 at 3:15 PM