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

33 points by Chemaclass 3 days ago

7 comments:

by pkphilip an hour ago

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

by Chemaclass an 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.

by isaisabella 3 days ago

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

by 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.

by midnight_eclair 3 days ago

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

by manytimesaway an hour ago

Inspired by PHP :^)

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

by bitwize 2 hours ago

"inspired by Scheme"

"inspired by CL"

Data from: Hacker News, provided by Hacker News (unofficial) API