# glycerine/zygomys

Zygo is a Lisp interpreter written in 100% Go. Central use case: dynamically compose Go struct trees in a zygo script, then invoke compiled Go functions on those trees. Makes Go reflection easy.

Repository: https://github.com/glycerine/zygomys
Canonical: https://ross.abutalabs.com/products/zygomys
Homepage: https://github.com/glycerine/zygomys/wiki
Language: Go
License: BSD-2-Clause
License Family: permissive
Last push: 2026-06-30T14:11:06+00:00

## Health v2 (maintenance only)
Score: 73/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 90, release rhythm 35, longevity 100
- inputs: {"age_days": 3888, "days_push": 64, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1787, forks 85 (observed 2026-08-28T04:05:36.295843+00:00)

## What it is
Zygomys is an embeddable Lisp interpreter written in pure Go, with an optional infix syntax subset of Go and a standalone REPL called zygo. It is designed for scripting Go applications, using reflection to build trees of native Go structs from scripts and invoke compiled Go functions on them.

## Use cases
- embed a scripting language in a Go application
- create a domain-specific language to drive my Go program
- script configuration of complex Go struct trees
- make an interactive command-line REPL for my app
- run sandboxed user scripts safely
- manipulate JSON and msgpack data from a script

## When to choose
- you need an embeddable, pure-Go scripting/DSL engine with easy Go struct interop via reflection
- you want a Lisp with readable infix math syntax and a REPL
- you need sandboxed script execution or JSON/msgpack-driven configuration

## When to avoid
- you need maximum script execution speed of compiled code
- your project is not in Go
- you need a mainstream scripting language with a large ecosystem like Lua or Python

## Facets
- artifact type: library
- maturity: active
- function: interpreter, programming-language, cli, developer-tools
- domain: programming-languages, developer-tools, apis
- platform: go, cross-platform, cli
- tags: lisp, embedded-scripting, dsl, repl, reflection, msgpack, infix-syntax, automation

## Member repositories
- glycerine/zygomys (main) score 73

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:36.295843+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-30T03:23:29.045442+00:00, confidence not recorded.
  - readme: https://github.com/glycerine/zygomys (fetched 2026-08-28T04:05:36.295843+00:00, sha db4466d6d637)
  - homepage: https://github.com/glycerine/zygomys/wiki (fetched 2026-08-29T11:02:20.856404+00:00, sha 8b30d9d7a30c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
