Skip to content

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

License

Notifications You must be signed in to change notification settings

t-matsudate/phel-lang

 
 

Repository files navigation

Phel logo

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


Phel is a functional programming language that transpiles to PHP.

It is a dialect of Lisp inspired by Clojure and Janet, designed for building robust applications in the PHP ecosystem.

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

  • Website
    • Features, documentation, exercises and blog
  • Installation
    • Quick start with scaffolding or manual installation
  • Packagist
    • The PHP Package Repository
  • Internals
    • Additional documentation about the compiler internals

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 transpiles to PHP. A Lisp dialect inspired by Clojure and Janet.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy