Run Clojure online — Lisp on the JVM, immutable by default. No local install.
Clojure is a Lisp that runs on the JVM (also on JS, .NET and BEAM in its cousins). Immutable persistent data structures, first-class functions, macros, and a philosophy of separating identity from state — all backed by the JVM ecosystem.
ls-judge runs Clojure 1.x through the standard clojure launcher inside a Firecracker microVM. Bring a single file, use core, use spec, use whatever you need.
Clicking "Run now" opens the playground with this exact code and a matching test case pre-loaded — passes on first Run.
(let [n (Integer/parseInt (clojure.string/trim (read-line)))] (println (* n 2)))
21
42