lark
توضیحات
a modern parsing library
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | lark-1.3.1 |
| نام | lark |
| نسخه کتابخانه | 1.3.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Erez Shinan <erezshin@gmail.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/lark/ |
| مجوز | MIT |
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.2, only Python versions 3.8 and up are supported.
نیازمندی
| مقدار | نام |
|---|---|
| xtr | regex; |
| xtr | js2py; |
| xtr | atomicwrites; |
| xtr | interegular<0.4.0,>=0.3.1; |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl lark-1.3.1:
pip install lark.whl
نصب پکیج tar.gz lark-1.3.1:
pip install lark.tar.gz