Em-AK / phel-lang

Phel is a functional programming language that compiles to PHP. A Lisp dialect inspired by Clojure and Janet.

Home Page:https://phel-lang.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Phel logo

GitHub Build Status Scrutinizer Code Quality Scrutinizer Code Coverage Psalm Type-coverage Status Gitter


Phel is a functional programming language that compiles to PHP.

It is a dialect of Lisp inspired by Clojure and Janet.

Example

# 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)

Documentation

The documentation for Phel can be found on the Phel's website: https://phel-lang.org.

Community

Feel free to ask questions and join discussions on the Phel Gitter channel.

Contribute

Please refer to CONTRIBUTING.md for information on how to contribute to Phel.

About

Phel is a functional programming language that compiles to PHP. A Lisp dialect inspired by Clojure and Janet.

https://phel-lang.org

License:MIT License


Languages

Language:PHP 99.9%Language:Dockerfile 0.0%Language:Shell 0.0%