Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity.
-
Updated
Jun 26, 2026 - Python
A grammar describes the syntax of a programming language, and might be defined in Backus-Naur form (BNF). A lexer performs lexical analysis, turning text into tokens. A parser takes tokens and builds a data structure like an abstract syntax tree (AST). The parser is concerned with context: does the sequence of tokens fit the grammar? A compiler is a combined lexer and parser, built for a specific grammar.
Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity.
A Grammar of Graphics for Python
简繁扩展词库/声调编码/最全声调标注工具链/万象更新工具链/Rime语法模型:LMDG - Language, Model, Dictionary, Grammar。没错这里是万象拼音的“罗马帝国”!
A framework for detecting, highlighting and correcting grammatical errors on natural language text. Created by Prithiviraj Damodaran. Open to pull requests and other forms of collaboration.
a free, non-AI python grammar checker 📝✅
Generation-based, context-free grammar fuzzer. Refer to https://github.com/posidron/dharma for a maintained version.
竜 TatSu generates Python parsers from grammars in a variation of EBNF
Efficient and general syntactical decoding for Large Language Models
gramfuzz is a grammar-based fuzzer that lets one define complex grammars to generate text and binary data formats.
Solidity grammar for tree sitter
Python Library and CLI for the LanguageTool JSON API
AI agent to automatically check grammar and spelling on documentation files
An intelligent, flexible grammar of machine learning.
The greynir.is Icelandic natural language processing API and website.
Extract and align grammar patterns from English sentences.