Erez Sh
|
1457e01e7e
|
Fixes to typing and tests
|
4 years ago |
Erez Sh
|
a8473e7e5d
|
A tiny bit more typing info
|
4 years ago |
Erez Sh
|
3f507fc073
|
A few more type annotations, reduce use of inline flags
|
4 years ago |
Erez Sh
|
3e9e5d8449
|
Refactor: Split class to move code out of standalone section
|
4 years ago |
Erez Sh
|
8aa4bfbd95
|
Fixup: moved import to standalone.
|
4 years ago |
Erez Sh
|
d0f25985af
|
Fixup: change typehint to Sequence
|
4 years ago |
Erez Sh
|
ead7a04473
|
Small fix
|
4 years ago |
Erez Sh
|
87a18a098e
|
Tiny fix: MakeParsingFrontend is a regular method, not a classmethod
|
4 years ago |
Erez Sh
|
7cb8acbe54
|
Bugfix for deepcopy + small unrelated refactor (issue #938)
|
4 years ago |
Erez Sh
|
d7d02e9308
|
Tiny comment fix
|
4 years ago |
Erez Sh
|
a13cfcef55
|
Bugfix in propagate_positions: Corrected to account for 'container nodes'
|
4 years ago |
Erez Sh
|
24f653080f
|
More minor refactorings
|
4 years ago |
Erez Sh
|
3bc070bc1d
|
Change how propagate_positions work
|
4 years ago |
Erez Sh
|
da3a993d02
|
lexer.py: Small simplification
|
4 years ago |
Erez Sh
|
e5991739ee
|
lexer.py: Small refactor
|
4 years ago |
Erez Sh
|
389e7fbf5c
|
lexer.py: Refactored mres operations into a Scanner class.
|
4 years ago |
Chanic Panic
|
804114d1ff
|
Remove default values on type declarations and mark ClassVars
|
4 years ago |
Chanic Panic
|
4bc9445238
|
Corrections for PR and some mypy errors
|
4 years ago |
Chanic Panic
|
bca7c79b1f
|
Declare instance variable types at class level
|
4 years ago |
Chanic Panic
|
be76059015
|
Merge the Literal types
|
4 years ago |
Chanic Panic
|
433adeeaff
|
Last batch of .pyi files
__init__, lexer, and parsers/__init__
|
4 years ago |
Chanic Panic
|
089bc2b523
|
More .pyi merging
exceptions, lark, and tree
|
4 years ago |
Chanic Panic
|
d7b819e9ce
|
Continue merging .pyi files
load_grammar, reconstruct, and visitors
|
4 years ago |
Erez Sh
|
9b77270502
|
Removed code relevant to versions below 3.6
|
4 years ago |
Chanic Panic
|
8d0cdeeb14
|
Start merging .pyi files
ast_utils, grammar, and indenter
|
4 years ago |
Erez Sh
|
ff686fc89a
|
Remove more Python 2 code
|
4 years ago |
Erez Sh
|
ec2ba8826e
|
Docs fix + cleanup
|
4 years ago |
Erez Sh
|
eb45324146
|
Removed deprecated code
|
4 years ago |
Erez Sh
|
8a00284700
|
Removed some of the Python2 compatibility code
|
4 years ago |
Erez Sh
|
44a20c850e
|
Small fix
|
4 years ago |
MegaIng
|
67bbb3dc21
|
Update reconstruct.pyi + add insert_spaces
|
4 years ago |
MegaIng
|
c44bb3e0cd
|
Raise a GrammarError on empty string literal.
|
4 years ago |
Erez Sh
|
bf7b1f49ca
|
Fixed Lark's docstring for propagate_positions
|
4 years ago |
Erez Sh
|
2737e5cfe0
|
Added option: propagate_positions='ignore_ws'
|
4 years ago |
Erez Sh
|
c00a621f62
|
Small fixes to PR
|
4 years ago |
Erez Sh
|
775f6f2b3e
|
Small fix to propagate positions: remove preceding/trailing whitespace
|
4 years ago |
Erez Sh
|
2409065529
|
Refactor PropagatePositions, change Token.pos_in_stream to start_pos
Increased minor version, because it might invalidate serialized objects
|
4 years ago |
Erez Sh
|
f7cde8766d
|
Remove tiny dead code
|
4 years ago |
Aaron Tsang
|
11eafa3e9e
|
Support 32bit unicode escape sequence
|
4 years ago |
Erez Sh
|
dbf60e6d76
|
Docs: Added docstring for Lark.parse_interactive()
|
4 years ago |
Erez Sh
|
a095071bf4
|
Version bump
|
4 years ago |
Erez Sh
|
cf02c497e7
|
Docs: Small fix in Transformer
|
4 years ago |
Erez Sh
|
e9f4c0304a
|
Docs: tools page + more explanations
|
4 years ago |
Erez Sh
|
0a380b7c2a
|
Added considered_rules to exception for earley. Small improvement to docs and exceptions
|
4 years ago |
Erez Sh
|
6cc9d42dc0
|
Fix for Python 3.4
|
4 years ago |
Erez Sh
|
6b67d5f5cd
|
Small adjustments to PR
|
4 years ago |
Erez Sh
|
385c35f506
|
Examples: Better doc for create_ast
|
4 years ago |
MegaIng1
|
2e0e55ea2a
|
Added fallback to `get_regexp_width` to not fail on unsupported regex features.
|
4 years ago |
MegaIng1
|
97c3202973
|
Make verify_used_files work with stdlib.
|
4 years ago |
MegaIng1
|
2eb5c746ff
|
Removed safe_cache option
|
4 years ago |