Phel v0.36.0 – Lisp on PHP, now with numeric tower and first-class Vars
35 points
3 days ago
| 5 comments
| github.com
| HN
masijo
17 minutes ago
[-]
I've been following this project for a while, congratulations on the release!

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!

reply
isaisabella
3 days ago
[-]
Great work on this release! Glad to see the dot-separated namespace syntax being standardized in the core.
reply
Chemaclass
3 days ago
[-]
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.
reply
pkphilip
1 hour ago
[-]
It would be great if the Phel repl could connect to a running PHP process
reply
Chemaclass
1 hour ago
[-]
Phel has deep PHP interop built into the language: call any PHP function, instantiate classes, access globals via the php/ namespace from anywhere in your code.

We also ship a Phel nREPL: a bencode-over-TCP server (phel nrepl) compatible with editor tooling like Calva, CIDER, and Conjure. Connect your editor and evaluate Phel code against a running process directly.

reply
midnight_eclair
3 days ago
[-]
"inspired by clojure" - is there a better signal for good taste and quality?
reply
manytimesaway
1 hour ago
[-]
Inspired by PHP :^)

Just kidding, even though I both love Clojure & PHP.

reply
bitwize
2 hours ago
[-]
"inspired by Scheme"

"inspired by CL"

reply