p'lisp

p'lisp for Clojure people

For: People who already write Clojure.

p'lisp runs Clojure on a pocket calculator with a 32-bit microcontroller (an RP2350) and no JVM. The language is Clojure: the same reader, the same core names, persistent collections and a live REPL. It is a new implementation, written in Rust, so this page says plainly where it differs.

Try it now

Open the Workbench, press REPL and type at the user=> prompt. These run as written (this page's examples are run by our tests against the real evaluator):

user=> (map inc [1 2 3])
(2 3 4)
user=> (->> (range 10) (filter odd?) (reduce +))
25
user=> (update {:a 1} :a + 10)
{:a 11}
user=> (frequencies "hello")
{\h 1, \e 1, \l 2, \o 1}
user=> (/ 1 3)
1/3
user=> (+ 0.1 0.2)
0.3

What you get

What is different

Next