Hacker News
Phel v0.36.0 – Lisp on PHP, now with numeric tower and first-class Vars
32 points by Chemaclass
ago
|
7 comments
pkphilip
|next
[-]
It would be great if the Phel repl could connect to a running PHP process
Chemaclass
|root
|parent
[-]
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.
isaisabella
|next
|previous
[-]
Great work on this release! Glad to see the dot-separated namespace syntax being standardized in the core.
Chemaclass
|next
|previous
[-]
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.