Phel: the Lisp that compiles to PHP

Phel: the Lisp that compiles to PHP

Phel: the Lisp that compiles to PHP. The new functional language. Fully interoperability with PHP 🚀. Phel is a Functional Programming (FP) language that compiles to PHP. It is a dialect of Lisp inspired by Clojure and Janet.

The new functional language. Fully interoperability with PHP 🚀

The Phel Language

Phel is a Functional Programming ( FP) language that compiles to PHP. It is a dialect of  Lisp inspired by Clojure and Janet.

Features

  • Built on PHP’s ecosystem
  • Good error reporting
  • Different Datastructures (Arrays, Tables, and Tuples)
  • Macros
  • Recursive functions
  • Powerful but simple Syntax
  • REPL

Why Phel?

Phel is a creation of Jens Haase and, as he mentions on the website, “it is the result of many  failed attempts to do functional programming in PHP”. He was looking for something with these characteristics:

  • A LISP-inspired
  • Functional Programming language
  • That runs on cheap hosting providers
  • And is easy to write and debug

From my point, it was at the end of May 2020 when I finished the book “ Seven Languages in Seven Weeks: A Pragmatic Guide to Learning Programming Languages”, in which I learned a bit of Prolog, Erlang, Clojure, Haskell… I even created a  repository in Github to store my progress over the weeks with these learnings.

software programming phel php

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Software Developer vs Software Engineer — Differences: Bogus or Real?

In this article, see if there are any differences between software developers and software engineers. What you’re about to read mostly revolves around my personal thoughts, deductions, and offbeat imagination. If you have different sentiments, add them in the comment section, and let’s dispute! So, today’s topic…

Custom Software vs Off-the-shelf Software: How to select a better one for your business?

Custom Software or Off-the-shelf software, the question in mind for many business personnel. Read this blog to get help to make right decision that will benefit your business.

Hire PHP Developer - Best PHP Web Frameworks for Web Development

Hire our Laravel, CodeIgniter, YII, Zend, Cake PHP, Core PHP developers for your custom web development projects. Choose best PHP Web Frameworks & get satisfactory results.

PHP json_decode Example | Decode JSON Data in PHP Tutorial

PHP json_decode is an inbuilt function that takes the JSON encoded string and converts it into a PHP variable. JSON stands for JavaScript Object Notation.

Introduction To PHP | What Is PHP Programming | PHP Tutorial For Beginners

This video on Introduction to PHP explains what is PHP and how does it work. However, we have shown a basic demo on "Hello World" program using Microsoft Visual Studio and Xampp software.