# cosmos72/gomacro

Interactive Go interpreter and debugger with REPL, Eval, generics and Lisp-like macros

Repository: https://github.com/cosmos72/gomacro
Canonical: https://ross.abutalabs.com/products/gomacro
Language: Go
License: MPL-2.0
License Family: copyleft
Topics: golang, interpreter, debugger, eval, repl, macros, generics
Last push: 2026-08-02T09:49:13+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 95, release rhythm 8, longevity 100
- inputs: {"age_days": 3486, "days_push": 31, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2297, forks 102 (observed 2026-08-28T04:06:35.239039+00:00)

## What it is
gomacro is an almost complete Go interpreter written in pure Go, providing an interactive REPL with line editing and completion, a scripting mode, a debugger, and Lisp-like macros with generics support. It can also be embedded as a library to add Eval() and scripting capabilities to Go programs.

## Use cases
- experiment with Go code in an interactive REPL
- add Eval() and scripting to a Go application
- debug Go source code interactively
- try out Go generics quickly
- use Go scientific libraries interactively like a notebook
- script in Go without a Go toolchain at runtime

## When to choose
- you want an interactive Go REPL or scripting environment
- you need to embed dynamic code evaluation in a Go program
- you want to experiment with Go generics or macros
- you want a Jupyter-style Go experience via Gophernotes

## When to avoid
- you need full compatibility with all Go features and standard toolchain behavior
- you need maximum performance for production execution
- your project cannot accept MPL-2.0 licensing restrictions

## Facets
- artifact type: library
- maturity: active
- function: interpreter, cli, developer-tools
- domain: programming-languages, developer-tools, education
- platform: go, windows, cross-platform, cli
- tags: go-interpreter, repl, eval, lisp-macros, debugger, scripting, generics, command-line, linux, macos

## Member repositories
- cosmos72/gomacro (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:35.239039+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-30T08:19:37.046125+00:00, confidence not recorded.
  - readme: https://github.com/cosmos72/gomacro (fetched 2026-08-28T04:06:35.239039+00:00, sha 9acb92b16abb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
