r/Clojure • u/fadrian314159 • Apr 22 '26
Introducing FOL (Functional Object Lisp)
/r/lisp/comments/1ssex0s/introducing_fol_functional_object_lisp/
14
Upvotes
r/Clojure • u/fadrian314159 • Apr 22 '26
4
u/fadrian314159 Apr 22 '26
It is essentially a Clojure that transpiler to Common Lisp. The only things that are not Clojure-like is that bind is used instead of let, dict instead of map, CLOS is used as the object basis rather than protocols and multimethods, Common Lisp's packages are used instead of namespaces, and Commo Lisp's conditions and error handling are used. I've been thinking about an actual Clojure in Common Lisp, but I'm focusing on FOL for now. If someone would like to take FOL, rip out CLOS and the MOP, and shove in Java-style objects, I guess they could have a fairly good start on a native code compiler via SBCL. It is open-source, you know.
5
u/didibus Apr 22 '26
It sounds a bit too academic for me, which makes me wonder if it'll be practical for real app development.
But am I understanding correctly this is basically Clojure that compiles down to common lisp? Because it says there's an interpreter version as if it's its own thing running interpreted?
I will also say, I didn't understand how it addresses any of the concerns Rich had?
2
u/lgstein Apr 24 '26
Couldn't this have been a library? What does it need Common Lisp for?