alt.hn

5/8/2026 at 7:18:24 AM

Phel v0.36.0 – Lisp on PHP, now with numeric tower and first-class Vars

https://github.com/phel-lang/phel-lang/releases/tag/v0.36.0

by Chemaclass

5/11/2026 at 1:37:42 PM

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?

by TazeTSchnitzel

5/8/2026 at 8:01:14 AM

"inspired by clojure" - is there a better signal for good taste and quality?

by midnight_eclair

5/11/2026 at 10:34:26 AM

Inspired by PHP :^)

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

by manytimesaway

5/11/2026 at 9:25:15 AM

"inspired by Scheme"

"inspired by CL"

by bitwize

5/11/2026 at 4:10:32 PM

"inspired clojure" ?

by bmacho

5/8/2026 at 7:18:24 AM

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.

by Chemaclass

5/8/2026 at 8:18:07 AM

Great work on this release! Glad to see the dot-separated namespace syntax being standardized in the core.

by isaisabella

5/11/2026 at 9:57:53 AM

It would be great if the Phel repl could connect to a running PHP process

by pkphilip

5/11/2026 at 10:33:27 AM

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.

by Chemaclass

5/11/2026 at 8:33:49 PM

Love this!

by segmondy

5/11/2026 at 11:35:36 AM

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!

by masijo

5/11/2026 at 12:22:23 PM

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/).

by nz

5/11/2026 at 12:56:08 PM

Culture wars are not worth anyones time participating in. Stop it.

by __alexs