• Stars
    star
    4,712
  • Rank 8,977 (Top 0.2 %)
  • Language
    Python
  • License
    Other
  • Created almost 12 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A dialect of Lisp that's embedded in Python

Hy

Version

XKCD #224

Lisp and Python should love each other. Let's make it happen.

Hy is a Lisp dialect that's embedded in Python. Since Hy transforms its Lisp code into Python abstract syntax tree (AST) objects, you have the whole beautiful world of Python at your fingertips, in Lisp form.

To install the latest release of Hy, just use the command pip3 install --user hy. Then you can start an interactive read-eval-print loop (REPL) with the command hy, or run a Hy program with hy myprogram.hy.

Hy is tested on all released and currently maintained versions of CPython (on Linux and Windows), and on recent versions of PyPy and Pyodide.

Project

Hy's current maintainer is Kodi Arfer. He takes responsibility for answering user questions, which should primarily be asked on Stack Overflow or GitHub Discussions, but feel free to poke him if he's missed a question or you've found a serious security issue.

Cuddles the Hacker

(fan art from the one and only doctormo)