{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/5"},{"label":"Linguistic","url":"https://skillfed.io/packages/category/text-processing-linguistic"},{"label":"General","url":"https://skillfed.io/packages/category/text-processing-general"}],"enrichment":{"capability":"Lark is a parsing library that builds abstract syntax trees from context-free grammars using Earley, LALR(1), or CYK parsing algorithms, with minimal code required.","skillfed_tags":["parser-generator","dsl","compiler-tools"],"use_cases":["Parse domain-specific languages or configuration file formats by defining their grammar rules","Build compilers or interpreters that need to convert source code into abstract syntax trees","Extract structured data from text by defining patterns as a context-free grammar","Implement query languages or expression parsers for applications requiring user-defined syntax","Generate stand-alone parsers from LALR grammars for deployment without the library"],"what_it_does":"Lark is a general-purpose parsing library that transforms grammar definitions into working parsers. It supports three parsing algorithms\u2014Earley (handles all context-free grammars including ambiguous ones), LALR(1) (fast and compact), and CYK (for highly ambiguous grammars)\u2014and automatically builds parse trees from input text based on your grammar structure.\n\nThe library is designed for minimal boilerplate: you write a grammar in EBNF notation and Lark generates a parser that can immediately process text matching that grammar. It includes conveniences like automatic line and column tracking, a standard library of common terminals (strings, numbers, identifiers), and Unicode support. With no runtime dependencies and support for both Python 2 and 3, it's straightforward to integrate into existing projects.","worth_installing":"Yes. Lark is production-stable, dependency-free, actively maintained, and widely used (top 5000 PyPI packages). Choose it if you need to parse structured text or implement a language. The main caveat: the latest release is from 2021-08-30, so verify current Python version compatibility before adopting in new projects."},"id":"lark-parser","links":{"html":"https://skillfed.io/packages/lark-parser","md":"https://skillfed.io/packages/lark-parser.md","pypi":"https://pypi.org/project/lark-parser/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2021-08-30","license_spdx":null,"license_treatment":"permissive","name":"lark-parser","python_support":"unspecified","summary":"a modern parsing library"},"popularity":{"monthly_downloads":3665702,"position":2535,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.12.0"}
