Data driven scripting with ClojureScript, EDN, and Lumo
summary
UHN replaces brittle bash deploy scripts with ClojureScript + EDN to generate Kubernetes JSON/YAML, using namespace-keyword injection and a simple post-walk templating routine that fits under 50 lines; that core grew into a reusable library weaver (~150–200 LOC). Scripts run under Lumo, shell out to Node when needed, and integrate with Jenkins (npm install before generation). Templates handle concatenation, fallbacks, and typed dispatch, and are already used to template real workflow and deployment manifests in production.
AI-written summary · about
chapters (6)
- 0:00Introduction
- 0:11Limitations of bash
- 3:05Benefits of ClojureScript
- 4:14Data templating with EDEN
- 5:53Implementation details
- 7:42Tools and Q&A
related talks
38mProduction Ready ClojureScript: Tales from the Frontier
41mClojureScript for Skeptics
27mVlojure A New Way To Write ClojureScript
21mLLMs + Clojure = Who needs frameworks?
38m"Growing Data Center networking mgmt UI using ClojureScript, Reagent and re-frame"
37mClojureScript All the Way Down
35m"Clojure lsp – One tool to lint them all"
40mTargeting Clojure & ClojureScript from a Single Codebase
