Lark is a modern general-purpose parsing library for Python
Lark is a modern general-purpose parsing library for Python. With Lark, you can parse any context-free grammar, efficiently, with very little code. Main Features: - Builds a parse-tree (AST) automagically, based on the structure of the grammar - Earley parser - Can parse all context-free grammars - Full support for ambiguous grammars - LALR(1) parser - Fast and light, competitive with PLY - Can generate a stand-alone parser - CYK parser, for highly ambiguous grammars - EBNF grammar - Unicode fully supported - Automatic line & column tracking - Standard library of terminals (strings, numbers, names, etc.) - Import grammars from Nearley.js - Extensive test suite - And much more! Since version 1.0, only Python versions 3.6 and up are supported.
Release | Stable | Testing |
---|---|---|
Fedora Rawhide | 1.2.2-1.fc42 | - |
Fedora 41 | 1.1.9-5.fc41 | - |
Fedora 40 | 1.1.7-3.fc40 | - |
You can contact the maintainers of this package via email at
python-lark dash maintainers at fedoraproject dot org
.