r/Clojure • • Apr 22 '26

Introducing FOL (Functional Object Lisp)

/r/lisp/comments/1ssex0s/introducing_fol_functional_object_lisp/
14 Upvotes

8 comments sorted by

View all comments

Show parent comment

4

u/didibus Apr 22 '26

So it transpiles to Common Lisp? The interpreter is for what, repl?

I think it makes sense if you're going to have a CL hosted Clojure to adopt CLOS and CL errors. Does it have interrop with CL ?

3

u/fadrian314159 Apr 22 '26

The interpreter was a first attempt used to test out initial design choices. It runs slowly, but it should still work, though. We're still thinking about interop. The main issue is how to do the translation from FOL's immutable data structures to Common Lisp data structures. We're trying to decide between a ClojureScript-like conversion shortcut macro or something like FSet's Coerce function. Function calls are fairly simple - you just call the function with the args and that's that. We'd love to have your suggestions, though. Feel free to make your wishes known.