Phel v0.36.0 – Lisp on PHP, now with numeric tower and first-class Vars
Summary
Phel v0.36.0 is released, bringing a numeric tower and first-class Vars to the Lisp-inspired functional language that compiles to PHP.
View Cached Full Text
Cached at: 05/11/26, 09:49 AM
phel-lang/phel-lang
Source: https://github.com/phel-lang/phel-lang
Functional, Lisp-inspired language compiling to PHP. Macros, persistent data structures, REPL.
Example
(ns my.example)
(defn greet [name] (str "Hello, " name "!"))
(println (greet "Phel"))
;; => Hello, Phel!
More examples →
|
Data pipeline
|
HTTP response
|
|
Macros
|
PHP interop
|
Getting Started
composer require phel-lang/phel-lang
./vendor/bin/phel init # add `--minimal` for a single-file layout
Scaffolds phel-config.php, src/phel/main.phel, tests/phel/main_test.phel.
./vendor/bin/phel run src/phel/main.phel # run
./vendor/bin/phel test # tests
./vendor/bin/phel repl # REPL
./vendor/bin/phel build # compile to PHP
Eval inline or via stdin:
./vendor/bin/phel eval '(+ 1 2)' # prints 3
echo '(println "hi")' | ./vendor/bin/phel eval -
./vendor/bin/phel eval - < script.phel
Documentation
- Quick Start — install, REPL, first script (5 min)
- Documentation Index — every guide, grouped by purpose
- phel-lang.org — tutorials, exercises, blog
- Repository Guidelines · Packagist
AI coding agents
- resources/agents/ — Claude Code, Cursor, Codex, Gemini, Copilot, Aider
./vendor/bin/phel agent-install [platform] [--all]— install skill file for your agent
Build PHAR
./build/phar.sh produces build/out/phel.phar.
Contribute
Setup and workflow: CONTRIBUTING.md. Architecture and review expectations: AGENTS.md.
Similar Articles
Pyrefly v1.0 is here
Pyrefly, an open-source Python type checker and language server, reaches v1.0, marking production readiness with significant performance improvements and adoption by major codebases like PyTorch and NumPy.
Blaise – A modern self-hosting zero-legacy Object Pascal compiler targeting QBE
Blaise is a modern, self-hosting Object Pascal compiler designed to eliminate legacy baggage by offering a single language mode, unified memory model, and native code generation via QBE.
vllm-project/vllm v0.20.1
vLLM v0.20.1 is a minor version update for the popular open-source LLM inference and serving library, maintaining its focus on high-throughput and efficient memory management.
vllm-project/vllm v0.21.0rc1
vLLM v0.21.0rc1 is a pre-release update for the high-performance LLM inference and serving library, featuring optimizations for throughput, quantization, and hardware support.
Mojo v1.0.0b1
Mojo, the high-performance programming language from Modular, has reached version 1.0.0 beta 1.