Phel is a functional programming language that transpiles to PHP.
It is a dialect of Lisp inspired by Clojure and Janet.
# Define a namespace
(ns my\example)
# Define a variable with name "my-name" and value "world"
(def my-name "world")
# Define a function with name "print-name" and one argument "your-name"
(defn print-name [your-name]
(print "hello" your-name))
# Call the function
(print-name my-name)
The documentation for Phel can be found on the Phel's website: https://phel-lang.org.
Feel free to ask questions and join discussions on the Phel Gitter channel.
Please refer to CONTRIBUTING.md for information on how to contribute to Phel.