# hylang/hy

A dialect of Lisp that's embedded in Python

Repository: https://github.com/hylang/hy
Canonical: https://ross.abutalabs.com/products/hy
Homepage: http://hylang.org
Language: Python
License: NOASSERTION
License Family: other
Topics: python, hy, lisps, macros, metaprogramming, compiler
Last push: 2026-07-31T17:41:02+00:00

## Health v2 (maintenance only)
Score: 88/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 95, release rhythm 71, longevity 100
- inputs: {"age_days": 5009, "days_push": 33, "days_rel": 33, "gap_med": 178.5, "n_releases_24m": 5}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5435, forks 384 (observed 2026-08-28T04:09:18.090253+00:00)

## What it is
Hy is a Lisp dialect that compiles to Python AST, giving full access to Python's ecosystem in Lisp syntax. It ships with a REPL, a compiler (hyc), and a converter (hy2py), installable via pip.

## Use cases
- write python code in lisp syntax
- use lisp macros with python libraries
- metaprogramming in python
- try a lisp repl on the jvm of python ecosystem
- mix functional and imperative styles in python
- compile hy programs to python bytecode

## When to choose
- you want Lisp syntax and macros while using Python libraries
- you want to interoperate freely between Hy and Python code
- you want an alternative syntax for Python with syntactic simplifications

## When to avoid
- your team only knows Python and you need minimal tooling friction
- you need a standalone Lisp outside the Python ecosystem
- you need guaranteed performance identical to hand-written Python in all edge cases

## Facets
- artifact type: library
- maturity: active
- function: compiler, interpreter, programming-language
- domain: programming-languages, compilers, developer-tools
- platform: python, cross-platform, cli
- tags: lisp, metaprogramming, macros, python-interop, repl

## Member repositories
- hylang/hy (main) score 88

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:18.090253+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:56:52.825420+00:00, confidence not recorded.
  - readme: https://github.com/hylang/hy (fetched 2026-08-28T04:09:18.090253+00:00, sha 1efd6ac5f498)
  - homepage: http://hylang.org (fetched 2026-08-29T08:52:04.996259+00:00, sha bde54cac0d89)
  - registry_pypi: https://pypi.org/pypi/hy/json (fetched 2026-08-29T08:52:05.008697+00:00, sha 94880f0a2fec)
  - site_page: http://hylang.org/hy/doc (fetched 2026-08-29T08:52:05.005737+00:00, sha 79b61d0dd1b2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
