Projects
Current work and open-source exploration in runtime design and language tooling.
Clockwork
Clojure runtime on Swift, compiling to Python
Clockwork is a faithful Clojure implementation built from first principles in Swift. It runs a live REPL on iOS with seamless namespace hydration from Git, hot-swappable evaluation strategies, and Python as the primary compilation target. The runtime is pluggable—you can define a dozen primitives and the system stitches everything together using monadic composition.
Core capabilities
- Python compilation target: Clojure code compiles to Python, making it embeddable in any Python environment.
- Pluggable output targets: The architecture supports any compilation target—just define primitives and compose.
- Pluggable evaluation: Swap evaluators mid-execution for tracing, experimentation, or performance tuning.
- Remote namespace hydration: Load Clojure code from Git or remote sources directly into the running runtime.
- Macro expansion server: Expansion as a service—trace, inspect, and understand how your code transforms.
- Live REPL on iOS: Iterate on UI and logic at the speed of thought. No reload, no rebuild.
- Full evaluator, compiler, pretty printer: Everything you need to run real Clojure, nowhere else runs it.
The Power of Composition
Most runtimes are sealed boxes. You can run code, but you can't inspect or swap the machinery. Clockwork rethinks that—evaluation is a protocol, not a black box. This enables something unprecedented: a language as dynamic as Clojure, running on iOS, with the ability to iterate on live UI at the speed of thought.
It's a proof point that clarity and composability aren't luxuries. They're the foundation of systems that move.
In progress
Besides Clockwork, I'm exploring:
Games & apps
Faithful, modern adaptations of classic games. Clean UI, thoughtful mechanics, real implementation.
Language tooling
Evaluators, macro tracing, namespace management. Making languages observable and understandable.
Distributed systems
Protocol design and runtime architecture that composes across platforms and networks.
Interested?
Whether you want to use Clockwork, collaborate, or discuss runtime design—let's talk.
Get in touch