scalameta/scalameta
Library to read, analyze, transform and generate Scala programs observed · 2026-09-01
Health v2 · maintenance only
98/100
- Activity 100
- Release rhythm 94
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 11
- age_days: 4461
- days_rel: 41
- days_push: 2
- n_releases_24m: 44
Adoption not part of the score
1156 stars · 246 forks observed · 2026-09-01
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Scalameta is a Scala library for reading, analyzing, transforming, and generating Scala programs via lossless syntax trees and quasiquotes. It also provides SemanticDB, a protobuf-based data model for sharing semantic information (symbols and types) between developer tools.
Use cases
- parse scala source code into syntax trees
- build a scala code formatter or linter
- programmatically refactor scala code
- pretty-print scala syntax trees back to source
- build scala developer tools using semantic information
- pattern match and traverse scala ASTs
- generate scala code programmatically
When to choose
- you need lossless syntax trees for Scala 2 or Scala 3
- you are building formatters, linters, refactoring or documentation tools for Scala
- you want a stable, documented alternative to Scala compiler internals for tooling
- you need quasiquotes for constructing or matching Scala code
When to avoid
- you work in a language other than Scala or Java
- you need runtime bytecode generation or macros rather than source-level metaprogramming
- you need full semantic type information for languages beyond Scala's partial Java support
Facets
library · maturity active
parser serialization developer-tools documentation parsers programming-languages developer-tools documentation jvm cross-platform scala syntax-trees metaprogramming semanticdb quasiquotes pretty-printer code-analysis
7 sources
- readme: https://github.com/scalameta/scalameta · fetched 2026-09-01 · 4f95f396ed73
- homepage: http://scalameta.org/ · fetched 2026-08-29 · ae3a07f4edc7
- site_page: http://scalameta.org/docs/trees/guide · fetched 2026-08-29 · 7928323acf34
- site_page: http://scalameta.org/docs/semanticdb/guide · fetched 2026-08-29 · 610a03319d6c
- site_page: http://scalameta.org/docs/trees/quasiquotes · fetched 2026-08-29 · d80760fc9738
- site_page: http://scalameta.org/docs/semanticdb/specification · fetched 2026-08-29 · ec20883de884
- site_page: https://scalameta.org/mdoc · fetched 2026-08-29 · 343e4669915a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| scalameta/scalameta | main | 98 |
For agents
markdown · JSON · MCP: product_card(name="scalameta/scalameta")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem