CMD + K

lark-parser

Community

a modern parsing library

Installation

To install this package, run one of the following:

Conda
$conda install services::lark-parser

Usage Tracking

0.12.0
1 / 8 versions selected
Downloads (Last 6 months): 0

Description

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 - Python 2 & 3 compatible - Automatic line & column tracking - Standard library of terminals (strings, numbers, names, etc.) - Import grammars from Nearley.js - Extensive test suite - And much more!

About

Summary

a modern parsing library

Last Updated

May 2, 2022 at 20:04

License

MIT

Total Downloads

30

Supported Platforms

noarch