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.
- Code: https://github.com/hylang/hy
- Documentation:
- master, for use with the latest revision on GitHub: http://docs.hylang.org/en/master
- stable, for use with the latest release on PyPI: http://docs.hylang.org/en/stable
- Bug reports: We have no bugs! Your bugs are your own! (https://github.com/hylang/hy/issues)
- License: MIT (Expat)
- Hacking on Hy
- Community: Join us on Github Discussions!
- Stack Overflow: The [hy] tag
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.
(fan art from the one and only doctormo)