Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Phel is a functional, Lisp-inspired programming language that compiles to PHP. It brings the expressive power of Clojure and the simplicity of Janet to the PHP ecosystem.

License

NotificationsYou must be signed in to change notification settings

phel-lang/phel-lang

Phel logo

GitHub Build StatusScrutinizer Code QualityScrutinizer Code CoveragePsalm Type-coverage StatusAsk DeepWiki


Phel is a functional,Lisp-inspired programming language that compiles to PHP. It brings the expressive power ofClojure and the simplicity ofJanet to the PHP ecosystem — enabling you to write concise, immutable, and composable code that runs anywhere PHP does.

Example

; Define a namespace(nsmy\example); Define a variable with name "my-name" and value "world"(defmy-name"world"); Define a function with name "print-name" and one argument "your-name"(defnprint-name [your-name]  (print"hello" your-name)); Call the function(print-name my-name)

Documentation

  • Website
    Discover features, tutorials, exercises, and the latest blog posts.
  • Installation
    Get started quickly with scaffolding or manual installation.
  • Packagist
    Find Phel on the official PHP package repository.
  • Internals
    Learn more about the compiler’s inner workings.
  • Examples
    Explore practical scripts you can run directly with the Phel CLI.

Build PHAR

Run the following command to create a standalone PHAR executable:

./build/phar.sh

The generatedbuild/out/phel.phar can then be executed directly.

Contribute

Please refer toCONTRIBUTING.md for information on how to contribute to Phel. For a quick overview of project layout, tooling, and review expectations, visit theRepository Guidelines.

About

Phel is a functional, Lisp-inspired programming language that compiles to PHP. It brings the expressive power of Clojure and the simplicity of Janet to the PHP ecosystem.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Sponsor this project

    Contributors18


    [8]ページ先頭

    ©2009-2025 Movatter.jp