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: almost 2 years ago
Linked from 1 awesome list

cykearleygrammarlalrlarkparseparserparser-libraryparsing-engineparsing-librarypythontree

Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
antlr/antlr4A parser generator tool that produces parsers and listener interfaces for reading, processing, and translating structured text or binary files.17,338
stanfordnlp/stanzaA Python library for natural language processing tasks in many human languages.7,315
engelberg/instaparseA Clojure library that converts context-free grammar notations into executable parsers2,749
lalrpop/lalrpopA parser generator framework for Rust that uses LR(1) parsing by default, allowing compact and readable grammar definitions.3,106
nltk/nltkA comprehensive toolkit for natural language processing tasks in Python.13,694
norvig/pytudesA collection of concise Python programs to practice and improve specific programming skills.23,209
askeladdk/prattleA parser and scanner package for LL(1) grammars7
aappleby/matcheroniA minimalist C++20 library for building pattern-matchers and parsers using Parsing Expression Grammars (PEGs)198
tanakh/peggyA parser generator for Haskell that focuses on simplicity and conciseness while providing fast and modern parsing capabilities93
pyparsing/pyparsingA Python library for building and executing grammars using a parsing-expression grammar approach2,247
dabeaz/plyA Python implementation of traditional parsing tools2,809
prefecthq/marvinAn AI toolkit for building natural language interfaces and generating multimedia content5,362
tobymao/sqlglotA comprehensive Python library for parsing and transpiling various SQL dialects to ensure compatibility and correctness.6,866
bigscience-workshop/promptsourceA toolkit for creating and using natural language prompts to enable large language models to generalize to new tasks.2,718
pointlander/pegA tool for generating parsers from parsing expression grammars using the Packrat parser generator1,028