lark

Parser library

A parsing toolkit that provides a flexible and modular way to parse context-free languages in Python

Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity.

GitHub

5k stars
57 watching
419 forks
Language: Python
last commit: 2 months ago
Linked from 1 awesome list

cykearleygrammarlalrlarkparseparserparser-libraryparsing-engineparsing-librarypythontree

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
antlr/antlr4 A parser generator tool that produces parsers and listener interfaces for reading, processing, and translating structured text or binary files. 17,338
stanfordnlp/stanza A Python library for natural language processing tasks in many human languages. 7,315
engelberg/instaparse A Clojure library that converts context-free grammar notations into executable parsers 2,749
lalrpop/lalrpop A parser generator framework for Rust that uses LR(1) parsing by default, allowing compact and readable grammar definitions. 3,106
nltk/nltk A comprehensive toolkit for natural language processing tasks in Python. 13,694
norvig/pytudes A collection of concise Python programs to practice and improve specific programming skills. 23,209
askeladdk/prattle A parser and scanner package for LL(1) grammars 7
aappleby/matcheroni A minimalist C++20 library for building pattern-matchers and parsers using Parsing Expression Grammars (PEGs) 198
tanakh/peggy A parser generator for Haskell that focuses on simplicity and conciseness while providing fast and modern parsing capabilities 93
pyparsing/pyparsing A Python library for building and executing grammars using a parsing-expression grammar approach 2,247
dabeaz/ply A Python implementation of traditional parsing tools 2,809
prefecthq/marvin An AI toolkit for building natural language interfaces and generating multimedia content 5,362
tobymao/sqlglot A comprehensive Python library for parsing and transpiling various SQL dialects to ensure compatibility and correctness. 6,866
bigscience-workshop/promptsource A toolkit for creating and using natural language prompts to enable large language models to generalize to new tasks. 2,718
pointlander/peg A tool for generating parsers from parsing expression grammars using the Packrat parser generator 1,028