Ross ROSS = Recommend OSS · open-source software intelligence for agents

lark-parser/lark

Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity. observed · 2026-08-28

github.com/lark-parser/lark · Python · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

79/100

  • Activity 99
  • Release rhythm 42
  • 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: 35
  • age_days: 3497
  • days_rel: 310
  • days_push: 7
  • n_releases_24m: 2

Full methodology

Adoption not part of the score

5968 stars · 512 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

Lark is a parsing toolkit for Python that can parse all context-free grammars using Earley, LALR(1), and CYK algorithms. It automatically builds annotated parse trees from a grammar and input, with no construction code required.

Use cases

  • parse a custom DSL in python
  • build a json parser from a grammar
  • parse config files into a syntax tree
  • write a parser for a programming language
  • handle ambiguous grammars gracefully
  • generate a standalone parser for distribution
  • build an AST from source code

When to choose

  • you need to parse any context-free grammar, including ambiguous ones
  • you want automatic parse-tree construction without writing tree-building code
  • you want a pure-python, dependency-free parser that runs on any Python interpreter
  • you want to trade off parsing power and speed (Earley vs LALR)

When to avoid

  • you need maximum parsing speed in a performance-critical system (a compiled-language parser will be faster)
  • you need a parser generator for languages other than Python
  • your grammar requires context-sensitive parsing beyond context-free

Facets

library · maturity stable

parser interpreter parsers programming-languages developer-tools python cross-platform earley lalr context-free-grammars parse-tree dsl pure-python standalone-parser-generation

2 sources

Member repositories

RepositoryRoleHealth v2
lark-parser/larkmain79

For agents

markdown · JSON · MCP: product_card(name="lark-parser/lark")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem