blob: b4b42045304d27feb4a7fac980f947f82d940b44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
Metadata-Version: 2.1
Name: lark
Version: 0.12.0
Summary: a modern parsing library
Home-page: https://github.com/lark-parser/lark
Author: Erez Shinan
Author-email: erezshin@gmail.com
License: MIT
Download-URL: https://github.com/lark-parser/lark/tarball/master
Keywords: Earley LALR parser parsing ast
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Text Processing :: General
Classifier: Topic :: Text Processing :: Linguistic
Classifier: License :: OSI Approved :: MIT License
Provides-Extra: atomic_cache
Requires-Dist: atomicwrites ; extra == 'atomic_cache'
Provides-Extra: nearley
Requires-Dist: js2py ; extra == 'nearley'
Provides-Extra: regex
Requires-Dist: regex ; extra == 'regex'
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!
|