r/Clojure • u/PixelOut • 2h ago
p'lisp - a calculator that runs clojure
Hi r/clojure! I've been working on this for a long time, and I'm a little giddy to finally show it.
p'lisp is a small Clojure dialect I'm building for a handheld calculator you fully control. You write Clojure, it runs on the device, and you can change anything about it. The same core also runs in the browser and inside game engines.
You can try it right now, no install needed:
- Workbench: https://playplisp.com/workbench (write an app and run it on a simulated calculator screen)
- Engines: https://playplisp.com/engines, with plugins for Godot, Unity and Unreal, so you can script games in Clojure with a live REPL
To be upfront about what it isn't: p'lisp is not 100% Clojure compatible, and it's not a replacement for babashka, ClojureScript or the JVM. It's a compact subset aimed at small devices and embedding, and I'd love to hear where it surprises you.
Where I'd love help:
- Try the Workbench and the Godot plugin, and tell me what breaks or feels un-Clojure-y.
- If the hardware excites you, I'm looking for sponsors to fund the first engineering (EVT) run that proves the calculator works: https://playplisp.com/sponsors
The code is open (MIT or Apache-2.0). Happy to answer anything in the comments. Thanks for reading!
1
u/Illustrious_Car344 0m ago
Was hard to find the repo from the site but I found it! I love that it's written in Rust, I'm always on the lookout for lisps I can embed in Rust!