Topics / #grammar
Grammar projects on GitHub
Grammar definitions for parsing plus language correctness checking.
As of , the most-starred Grammar projects on GitHub are guidance (21.8K stars), antlr4 (19K stars) and ecma262 (15.7K stars). GitHub.Locker tracks 9 Grammar repositories with 120.3K stars combined. The fastest-growing on October 19 was yomiyasu, with +61 stars in a day.
Hot right now
Most stars gained in a day · Oct 19
+61yomiyasu
nanaism/yomiyasu · ★ 2.3Kyomiyasu is an Agent Skill that revises AI-generated Japanese text into more natural, information-dense Japanese, meant to be loaded into AI coding environments such as Codex, Claude Code, and Cursor.
+6languagetool
languagetool-org/languagetool · ★ 15.2KOpen-source proofreading software that checks grammar and style in English, German, French, Spanish, Polish, Dutch and more — over 25 languages — catching many errors a simple spell checker misses.
+2antlr4
antlr/antlr4 · ★ 19KA parser generator: you write a grammar for your language or file format, and ANTLR generates a parser that builds parse trees, plus listener/visitor interfaces to react to recognized phrases. Widely used to build languages, tools, and frameworks.
+1ecma262
tc39/ecma262 · ★ 15.7KIt is the source repository for the current draft of ECMA-262, the ECMAScript (JavaScript) Language Specification, maintained by TC39. The source is processed to generate the human-readable edition of the spec.
The all-time top
9 projects · by stars
- 21.8K
#1 · guidance-ai/guidance
guidance
Guidance is a Python library — an efficient programming paradigm for steering large language models: you control how output is structured while reducing latency and cost compared with conventional prompting or fine-tuning.
- 19K
#2 · antlr/antlr4antlr4
A parser generator: you write a grammar for your language or file format, and ANTLR generates a parser that builds parse trees, plus listener/visitor interfaces to react to recognized phrases. Widely used to build languages, tools, and frameworks.
- 15.7K
#3 · tc39/ecma262ecma262
It is the source repository for the current draft of ECMA-262, the ECMAScript (JavaScript) Language Specification, maintained by TC39. The source is processed to generate the human-readable edition of the spec.
- 4

languagetool
15.2Klanguagetool-org/languagetool · JavaOpen-source proofreading software that checks grammar and style in English, German, French, Spanish, Polish, Dutch and more — over 25 languages — catching many errors a simple spell checker misses.
- 5
G2
12.6Kantvis/G2 · TypeScriptG2 is a visualization grammar library for building charts, dashboards, data exploration, and storytelling, inspired by Leland Wilkinson's book 'The Grammar of Graphics'.
- 6

compromise
12.2Kspencermountain/compromise · JavaScriptCompromise is a lightweight JavaScript natural-language processing library that parses text into structured data: tokenizing words and sentences, tagging part-of-speech, and letting you query phrases like numbers, names, or dates.
- 7

grammars-v4
11.1Kantlr/grammars-v4 · ANTLRIt is a large collection of formal grammars written for ANTLR v4, covering programming languages and file formats like Java, C++, C#, JSON and many others.
- 8

nom
10.5Krust-bakery/nom · Rustnom is a parser combinator library for Rust: you build safe parsers by composing small functions, without giving up speed or memory efficiency.
- 9

yomiyasu
2.3Knanaism/yomiyasu · Pythonyomiyasu is an Agent Skill that revises AI-generated Japanese text into more natural, information-dense Japanese, meant to be loaded into AI coding environments such as Codex, Claude Code, and Cursor.
Related topics
Often tagged together
- developer-tools2,990
- library1,598
- open-source5,768
- mit3,401
- text-processing42
- java457
- javascript1,863
- nlp216
- parser60
- parsing36
- python2,440
- ai2,001
- api1,119
- cross-platform2,682
- developers439
- free1,000
- frontend1,087
- hacktoberfest454
- linux4,265
- llm1,523
- macos3,624
- natural-language-processing98
- npm1,034
- prompt-engineering248