Cuddles the cuttlefish
|
|
Paradigm | Multi-paradigm: procedural, functional, object-oriented, meta, reflective, generic |
---|---|
Family | Lisp |
Designed by | Paul Tagliamonte |
First appeared | 2013 |
Preview release |
0.11.0
|
Scope | lexical, optionally dynamic |
OS | Cross-platform |
Filename extensions | .hy |
Website | hylang |
Hy (alternately, Hylang) is a dialect of the Lisp programming language designed to interact with Python by translating expressions into Python's abstract syntax tree (AST). Hy was introduced at PyCon 2013 by Paul Tagliamonte.
Similar to Clojure's mapping of s-expressions onto the JVM, Hy is meant to operate as a transparent Lisp front end to Python's abstract syntax. Because Lisp allows for operating on code as data, Hy can be used to write domain-specific languages. Hy also allows for Python libraries (including the standard library) to be imported and accessed alongside Hy code with a compilation step converting the data structure of both into Python's AST.
From the language documentation: