Phel, un LISP nativo en PHP
www.youtube.com
external-link
Meetup: https://www.meetup.com/es-ES/madswcraftSlack: https://slack.softwarecrafters.orgTwitter: https://twitter.com/madswcraft______________________________...

Speaker: Chema https://twitter.com/Chemaclass Phel: https://twitter.com/phel_lang

Completely open source: https://github.com/phel-lang/phel-lang

Phel is a functional programming 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
  • Persistent data structures (Lists, Vectors, Maps and Sets)
  • Macros
  • Recursive functions
  • Powerful but simple Syntax
  • REPL

The following example gives a short impression on how Phel looks like:

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

You can find all documentation here: https://phel-lang.org/

The LISP community in Lemmy
!lisp
Create a post

A community for the Lisp family of programming languages.

Lisp (historically LISP) is a family of programming languages with a long history and a distinctive, fully parenthesized prefix notation. Originally specified in 1958, Lisp is the second-oldest high-level programming language. Only Fortran is older, by one year.

History

Associations and meetings

Resources - TODO

Related communities (dialects) - TODO

  • 0 users online
  • 1 user / day
  • 1 user / week
  • 1 user / month
  • 1 user / 6 months
  • 4 subscribers
  • 12 Posts
  • 1 Comment
  • Modlog