Contents — Hy 1.1.0 manual (original) (raw)
PyPI:
https://pypi.python.org/pypi/hy
Source:
Discussions:
https://github.com/hylang/hy/discussions
Stack Overflow:
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
.
- Why Hy?
- Versioning and compatibility
- Tutorial
- Syntax
- An introduction to models
- Non-form syntactic elements
* Shebang
* Whitespace
* Comments
* Discard prefix - Identifiers
* Numeric literals
* Dotted identifiers
* Symbols
* Mangling - Keywords
- String literals
* Bracket strings - Sequential forms
* Expressions
* List, tuple, and set literals
* Dictionary literals
* Format strings - Additional sugar
- Reader macros
- Semantics
- Macros
- Model patterns
- The Hy REPL
- Environment variables
- Command-line interface
- Python interoperability
- API reference
- Developing Hy