Skip to content

Latest commit

 

History

History
41 lines (33 loc) · 1.1 KB

index.rst

File metadata and controls

41 lines (33 loc) · 1.1 KB

Contents

Hy

PyPI:https://pypi.python.org/pypi/hy
Source:https://github.com/hylang/hy
Discussions:https://github.com/hylang/hy/discussions
Stack Overflow:The [hy] tag

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, Windows, and Mac OS), and on recent versions of PyPy and Pyodide.

.. toctree::
   :maxdepth: 3

   whyhy
   tutorial
   syntax
   semantics
   macros
   model_patterns
   repl
   env_var
   cli
   interop
   api
   hacking