# github/semantic

Parsing, analyzing, and comparing source code across many languages

Repository: https://github.com/github/semantic
Canonical: https://ross.abutalabs.com/products/semantic
Language: Haskell
License Family: other
Topics: keep
Archived: true
Last push: 2025-04-01T16:36:44+00:00

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

## Adoption (not part of the score)
Stars 9045, forks 464 (observed 2026-08-28T04:10:28.117297+00:00)

## What it is
A Haskell library and command-line tool from GitHub for parsing, analyzing, and comparing source code across many languages, producing parse trees, symbol lists, and stack graphs. It powered code navigation on github.com but is no longer maintained by GitHub.

## Use cases
- parse source files into s-expression ASTs
- extract symbol lists from code for navigation
- compare or diff source code across languages
- analyze code structure in Python, JavaScript, Go, Ruby, and more
- build code navigation indexes with stack graphs

## When to choose
- you need multi-language AST parsing or symbol extraction from the command line
- you want to study or fork a mature Haskell code-analysis codebase
- you need s-expression or protobuf symbol output for tooling

## When to avoid
- you need maintained software with bug fixes and support
- you require Windows support without Docker
- you want a lightweight dependency for a modern pipeline - tree-sitter CLI may fit better

## Facets
- artifact type: cli-tool
- maturity: abandoned
- function: parser, static-site-generator, developer-tools
- domain: developer-tools, parsers, programming-languages
- platform: cli
- tags: haskell, ast, code-analysis, tree-sitter, code-navigation, stack-graphs, diffing, linux, macos

## Member repositories
- github/semantic (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:28.117297+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:24:03.712413+00:00, confidence not recorded.
  - readme: https://github.com/github/semantic (fetched 2026-08-28T04:10:28.117297+00:00, sha 3473f8bbe519)
- Data as of 2026-08-30T08:39:29.467469+00:00.
