Phel compiles a Clojure-flavoured Lisp to PHP. v0.36.0 ships exact rationals (1/2 literals), arbitrary-precision BigInteger with overflow auto-promotion, BigDecimal, first-class Vars (#'sym, alter-var-root, with-redefs, watches), and new value types (UUID, Queue, MapEntry). Plus REPL and test boot are notably faster.
Could not help but notice that this project has no explicit policy on whether AI contributions are allowed or not (i.e. nothing analogous to https://ziglang.org/code-of-conduct/).
This is fun to see. I wonder how they handle the fact that PHP puts every type of thing in its own namespace (names of classes, functions, constants, methods, variables, member variables, static variables and class constants don't conflict with eachother) and how not all namespaces have case-sensitivity. That's very un-lisp, maybe it just uses its own lisp-specific namespace?
11 comments
[ 3.5 ms ] story [ 35.5 ms ] thread"inspired by CL"
Just kidding, even though I both love Clojure & PHP.
Even though I don't have much use for PHP at the moment, I wish it finds a niche in the market and becomes widely used. Good luck!