Workbench
Evaluator: needs JavaScriptTry Clojure in your browser: pick an exercise, change the code, and craft it. No install, nothing saved.
Predict, then run
Add up the lines
Each line is a number. Guess the total, then run it.
Goal:
Tab moves to the next control. Ctrl+Enter (or Cmd+Enter) crafts.
Load a starter recipe (replaces your code)
Reading input
Counting
Grids
Sets and searching
Building results
Result
needs JavaScript
The Workbench needs JavaScript to run code. For the full setup on your own computer, see Start here.
Printed output
How to read this: Reading an error
Why
Read more:
Good to know
- Some exercises are teasers from Clojure Brain Teasers by Alex Miller and L. Jordan Miller (Pragmatic Bookshelf, 2025). Clojure Brain Teasers
- Results print as Clojure data: maps, vectors, sets.
- Nothing you type leaves your browser, and nothing is saved. Don't paste your puzzle input or your Advent of Code session cookie anywhere; the Workbench never asks for them.
- The Workbench runs ClojureScript, so a few results print differently from a JVM REPL: a character in a string is "i" here and \i there.
- Code that runs longer than 10 seconds is stopped, so a loop that never ends can't freeze your browser.
- No AI here. You build it.
- This is a place to try things. For the puzzles, set up a local REPL: Start here
- The evaluator is Scittle, by borkdude: Scittle