Aviva Directory » Computers & Internet » Programming » Lisp » Hy (language)

Sometimes known as Hylang, Hy is a multi-paradigm general-purpose programming language in the Lisp family.

Often described as a dialect of the Lisp programming language, Hy is designed to interact with Python by translating s-expressions into Python's abstract syntax tree (AST). As Lisp allows operating on code as data (metaprogramming), Hy can be used to write domain-specific languages.

While Hy is similar to Lisp in many ways, it uses square brackets rather than parenthesis for list literals. Hy also supports the setv function instead of the = operator to assign values to variables. Hy supports both dynamic and static typing, and programs are able to choose which to use depending on the need.

Designed by Paul Tagliamonte, Hi was first released in 2013 and is still under active development by a core team. The language was influenced by Common Lisp, Clojure, and Kawa.

Mark Watson, a Lisp programmer and author of a book on the subject, "A Lisp Programmer Living in Python-Land: The Hy Programming Language," describes the Hy programming language as "Python, but with a Lisp syntax."

The Hy programming language is a Lisp language that interoperates smoothly with Python. Importing Python code and libraries and calling out to Python is said to be simple.

Hy is open-source software under the MIT License.

The focus of this portion of our guide is on the Hy (Hylang) programming language. Topics related to the programming language itself, or any IDEs, editors, or utilities closely connected to the language, are appropriate for this category.



Recommended Resources

Search for Hy (language) on Google or Bing