Klor: Choreographies for the Working Clojurian
summary
Klor is a Clojure EDSL for choreographies developed in about six to seven months that performs compile-time projection via a defchor macro which expands into per-role JVM functions, avoiding a custom tool chain. It runs a lightweight, location-based type checker during macro expansion, supports agreement types (double-arrow) plus primitive copy and narrow, provides choreographic tuples and forced-agree checks, and ships a runtime with play-role API and a local simulator using Java 21 virtual threads. The demo and simulator execute the projected roles end to end.
AI-written summary · about
chapters (12)
- 0:00Klor introduction
- 1:03Clojure and choreographies
- 3:33Clojure crash course
- 5:17Compile-time macros
- 7:03Choreography syntax
- 8:06Communication types
- 11:20Homogeneous code
- 13:29Multiple returns
- 15:15Forced agreement example
- 16:44Execution and projection
- 18:06Authentication example
- 19:32Q&A
related talks
36mKlor: Choreographic Programming in Clojure
14mMoldable Live Programming with Clerk
01h 23mKeynote
43mClojure - Modern Lisp
40mTargeting Clojure & ClojureScript from a Single Codebase
37mClojure Remixed: Pyroclast Data Processing
01h 15mEffective Programs - 10 Years of Clojure
35m"How to transfer Clojure goodness to other languages"
