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.
5k stars
57 watching
417 forks
Language: Python
last commit: 20 days ago
Linked from 1 awesome list
cykearleygrammarlalrlarkparseparserparser-libraryparsing-engineparsing-librarypythontree
Related projects:
Repository | Description | Stars |
---|---|---|
antlr/antlr4 | A tool for building parsers and providing a common interface for language recognition in multiple programming languages | 17,280 |
stanfordnlp/stanza | A Python library for natural language processing tasks in many human languages. | 7,309 |
engelberg/instaparse | A Clojure library that converts context-free grammar notations into executable parsers | 2,746 |
lalrpop/lalrpop | A parser generator framework for Rust that uses LR(1) parsing by default, allowing compact and readable grammar definitions. | 3,088 |
nltk/nltk | A comprehensive toolkit for natural language processing tasks in Python. | 13,663 |
norvig/pytudes | A collection of Python programs designed to help perfect programming skills through practice and demonstration. | 23,179 |
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,238 |
dabeaz/ply | A Python implementation of traditional parsing tools | 2,801 |
prefecthq/marvin | An AI toolkit for building natural language interfaces and generating multimedia content | 5,337 |
tobymao/sqlglot | A comprehensive Python library for parsing and transpiling various SQL dialects to ensure compatibility and correctness. | 6,805 |
bigscience-workshop/promptsource | A toolkit for creating and using natural language prompts to enable large language models to generalize to new tasks. | 2,706 |
pointlander/peg | A tool for generating parsers from parsing expression grammars using the Packrat parser generator | 1,021 |