Wed, 18 Nov 2026 23:00:16 UTC Log in
Lark is a modern general-purpose parsing library for Python 278.08 KB built 2026-10-17 10:49:41 GMT

Description

Lark is a modern general-purpose parsing library for Python. Lark focuses on simplicity and power. It lets you choose between two parsing algorithms: Earley : Parses all context-free grammars (even ambiguous ones)! It is the default. LALR(1): Only LR grammars. Outperforms PLY and most if not all other pure-python parsing libraries. Both algorithms are written in Python and can be used interchangeably with the same grammar (aside for algorithmic restrictions). See "Comparison to other parsers" for more details. Lark can auto magically build an AST from your grammar, without any more code on your part. Features: - EBNF grammar with a little extra - Earley & LALR(1) - Builds an AST auto magically based on the grammar - Automatic line & column tracking - Automatic token collision resolution (unless both tokens are regexps) - Python 2 & 3 compatible - Unicode fully supported

Dependencies

12 total
Requires11
  • (python3dist(tomli) if python3-devel < 3.11)
  • pyproject-rpm-macros
  • python3-devel
  • python3-devel
  • python3dist(packaging)
  • python3dist(pip) >= 19
  • python3dist(setuptools) >= 61.2
  • rpmlib(CompressedFileNames) <= 3.0.4-1
  • rpmlib(DynamicBuildRequires) <= 4.15.0-1
  • rpmlib(FileDigests) <= 4.6.0-1
  • rpmlib(RichDependencies) <= 4.12.0-1
Provides1
  • python3-lark = 1.2.2-8.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances

Files

3
Files 1–3 of 3

Component of

buildroots that installed this RPM

No Buildroots