Erez Sh
|
e0e698938c
|
Examples: Fixes to paths (Issue #780)
|
4 years ago |
Erez Shinan
|
069ad4a6fe
|
Merge pull request #821 from chanicpanic/issue-820
Fix an SPPF cycle edge case (Issue #820)
|
4 years ago |
Chanic Panic
|
e88646b586
|
Fix an SPPF cycle edge case (Issue #820)
|
4 years ago |
Erez Shinan
|
9379161aad
|
Update README.md
|
4 years ago |
Erez Shinan
|
7d9fe4a2f6
|
Create FUNDING.yml
|
4 years ago |
Erez Sh
|
1d61de4f94
|
Fix .pyi files
|
4 years ago |
Erez Shinan
|
f7442d3be6
|
Merge pull request #816 from lark-parser/MegaIng-grammar_builder
|
4 years ago |
Erez Sh
|
fd3be9d8d6
|
Brought back the removal of unused rules/terminals in imported grammars
|
4 years ago |
Erez Sh
|
8cfe52fb77
|
Examples: Added example of extending the Python grammar
|
4 years ago |
Erez Sh
|
09bcababcd
|
Docs & Examples, small improvements
|
4 years ago |
Erez Sh
|
58c9435e80
|
Refactored and added grammar tests
|
4 years ago |
Erez Sh
|
d18e009fa4
|
PR refactor: Simplified load_grammar
|
4 years ago |
Erez Sh
|
2f2cebedf8
|
Merge branch 'grammar_builder' of https://github.com/MegaIng/lark into MegaIng-grammar_builder
|
4 years ago |
Erez Sh
|
2ffb55b88f
|
Indenter now throws DedentError instead of AssertionError
|
4 years ago |
MegaIng1
|
d98925525f
|
Fix for slices getting reduce to single getitem
|
4 years ago |
Erez Sh
|
f32014cc7b
|
Example: Friendlier reconstruct_python.py
|
4 years ago |
MegaIng1
|
02035aa141
|
Added example + Corrected python3.lark
|
4 years ago |
MegaIng1
|
b6b31548ca
|
Fix for review + Removed unused functions
|
4 years ago |
MegaIng1
|
8b4f874d3d
|
added example grammar_building.py
|
4 years ago |
MegaIng1
|
5db3003edb
|
Updated stubs
|
4 years ago |
MegaIng1
|
9f3ef97bd7
|
removed GrammarLoader
|
4 years ago |
MegaIng1
|
d676df9b88
|
Python2.7 compatibility
|
4 years ago |
MegaIng1
|
3bf7c6a19a
|
Completed `GrammarBuilder.check`
|
4 years ago |
Erez Shinan
|
f315bb1d3f
|
Merge pull request #802 from ligurio/patch-1
|
4 years ago |
Sergey Bronnikov
|
8cfac40658
|
Add link to the repo with 3rd party Lark grammars
|
4 years ago |
MegaIng1
|
225c9e16a5
|
Added `%import` to GrammarLoader & fixed tests
|
4 years ago |
MegaIng1
|
9e545f8825
|
Basics for GrammarBuilder
|
4 years ago |
MegaIng1
|
be979f2e63
|
Added %extend for both rules and terminals.
|
4 years ago |
MegaIng1
|
5930e4ba6f
|
Added Terminal support for `%override`
|
4 years ago |
Erez Shinan
|
955e64597a
|
Merge pull request #801 from lark-parser/override_stmt
|
4 years ago |
Erez Sh
|
bcf9957575
|
Added documentation
|
4 years ago |
Erez Sh
|
1cfbb7be27
|
Added comments
|
4 years ago |
Erez Sh
|
df18e78861
|
Added %override to lark.lark
|
4 years ago |
Erez Sh
|
b379ea4b8b
|
Grammar: Added new %override statement for rewriting imported rules (like in class inheritance)
|
4 years ago |
Erez Shinan
|
452a4e175f
|
Merge pull request #799 from fuglede/patch-1
Fix reference to error_puppet example
|
4 years ago |
Søren Fuglede Jørgensen
|
cbb78b262e
|
Fix reference to error_puppet example
|
4 years ago |
Erez Shinan
|
a201d6ff53
|
Merge pull request #786 from lark-parser/julienmalard-recons_unicode_terminals
|
4 years ago |
Erez Sh
|
a7c71f32cc
|
Fixed Lark.lex(), added dont_ignore option, added tests for it.
|
4 years ago |
Erez Sh
|
7b6a730abc
|
Small bugfixes in exceptions
|
4 years ago |
Erez Shinan
|
0f2f3d71b5
|
Merge pull request #790 from unbrice/types
type stubs: A consistent type for `Token.value`
|
4 years ago |
Erez Shinan
|
f628b7facd
|
Merge pull request #789 from unbrice/master
|
4 years ago |
Brice Arnould
|
781ae59b3c
|
type stubs: A consistent type for `Token.value`
The Token's value is described as being a in the attribute list: 460a221923/lark-stubs/lexer.pyi (L84) and as `Any` in `__init__` parameters: 460a221923/lark-stubs/lexer.pyi (L91)
Yet one of the recipes, [Use a transformer to parse integer tokens](https://github.com/lark-parser/lark/blob/master/docs/recipes.md#use-a-transformer-to-parse-integer-tokens), recommends to set it to other types. So IIUC, `Any` is the correct one.
|
4 years ago |
Brice Arnould
|
d390a9c0b1
|
type stubs: fix typo
|
4 years ago |
Brice Arnould
|
b59764f898
|
type stubs: Allows `v_args` to decorate a class.
v_args is described as taking a callbable as argument: 36a7b050c1/lark-stubs/visitors.pyi (L75-L79)
Yet the documentation states it can decorate a class: 5b30ba4841/lark/visitors.py (L417-L418)
|
4 years ago |
Erez Sh
|
8953849841
|
Allow unicode in terminal names
|
4 years ago |
Erez Sh
|
423cde3da3
|
Merge branch 'recons_unicode_terminals' of https://github.com/julienmalard/lark into julienmalard-recons_unicode_terminals
|
4 years ago |
Erez Shinan
|
460a221923
|
Merge pull request #735 from fabioz/patch-2
|
4 years ago |
Erez Sh
|
36a7b050c1
|
Merge branch 'MegaIng-better-terminals'
|
4 years ago |
Erez Sh
|
aa7dc19bc3
|
Corrections for PR
|
4 years ago |
MegaIng1
|
8ec6d0f2ab
|
Correction for PR
- `user_repr` is now a method
- Fix for python 2.7
- excepts -> expected
|
4 years ago |