Erez
608395cd4d
Improved docs
6 years ago
Erez Shinan
d4f069588d
Improved docs
6 years ago
Erez Shinan
8e7c05a8f6
Added VisitError for transformers
6 years ago
Erez Shinan
00510edee6
Added a nicer error for duplicate rules
6 years ago
Erez Shinan
beb1ff364b
Merge pull request #297 from evandrocoan/tox_postargs_option
Added tox.ini posargs option, you can pass arguments to unit tests
6 years ago
evandrocoan
8b77c89ff2
Added tox.ini posargs option, you can pass arguments to unit tests
https://stackoverflow.com/questions/35697353/how-to-run-only-one-test-in-tox
6 years ago
Erez Shinan
4cba8f87ae
Merge pull request #294 from evandrocoan/add_tox_to_gitignore
Added .tox to .gitignore (to use tox locally)
6 years ago
Erez Shinan
14c83ec9e5
Merge pull request #295 from evandrocoan/fix_misspelling
Fix misspelling on lark/lark.py documentation
6 years ago
evandrocoan
6c013b9a1d
Fix misspelling on lark/lark.py documentation
6 years ago
evandrocoan
d5cf6b1ef1
Added .tox to .gitignore (to use tox locally)
6 years ago
Erez Shinan
534114309f
Merge pull request #293 from evandrocoan/trimmed_whitespaces
Trimmed whitespaces and ensured a new line on the end of the file
6 years ago
evandrocoan
48351c3d3e
Trimmed whitespaces and ensured a new line on the end of the file
6 years ago
Erez Shinan
467483553b
Fixed placeholder code, should work as expected (Issue #285 )
6 years ago
Erez Shinan
adb30180aa
maybe_placeholder now doesn't apply to anonymous terminals
6 years ago
Erez Shinan
641fec43ce
@v_args at function level now takes precedent over class level
6 years ago
Erez Shinan
222df5bab4
New Feature: Added maybe_placeholders option (Issue #285 )
6 years ago
Erez Shinan
2abfcd6c51
Merge pull request #292 from Haski-server/patch-1
number add BIN_NUMBER
6 years ago
Haski-server
c2a5f09ad5
number add BIN_NUMBER
Without BIN_NUMBER, the following error occurs:
lark.exceptions.UnexpectedCharacters: No terminal defined for 'b' at line 1 col 2
0b10
^
6 years ago
Erez Shinan
7a3ba694c8
Updated .gitignore to exclude *.pyo
6 years ago
Erez Shinan
6290b1647d
Lark now works under Python -OO (Issue #283 )
6 years ago
Erez Shinan
5c68bf677a
Implement eq/hash for Rule (Issue #278 )
6 years ago
Erez Shinan
c172653ea6
Fix issue with propagate_positions
6 years ago
Erez Shinan
149f7cec1f
BUGFIX: Importing the same grammar twice could lead to unexpected behavior (Issue #268 )
6 years ago
Erez Shinan
3900081684
Merge pull request #270 from midnio/patch-2
Fix typo in docs
6 years ago
Muhammed Alkan
ed95ce28bc
Fix typo
6 years ago
Erez Shinan
c436940d81
Merge pull request #266 from SupraSummus/patch-1
Instructions how to get Shift/Reduce messages printed (Issue #258 )
6 years ago
Jan Rydzewski
188e87c65b
Update how_to_use.md
6 years ago
Jan Rydzewski
d36a6dbec2
Update how_to_use.md
6 years ago
Jan Rydzewski
fef774f78f
Instructions how to get Shift/Reduce messages printed (Issue #258 )
6 years ago
Erez Shinan
ab213bfc10
Merge pull request #260 from worldmind/master
Method iter_subtrees_topdown added
6 years ago
Alexey Shrub
f604b73a3c
Tree walk tests
6 years ago
Alexey Shrub
1cdc7a0e88
Fix Python 2 error with return from generator
6 years ago
Alexey Shrub
2ad06a24bd
Method iter_subtrees_topdown added
6 years ago
Erez Shinan
a892f184e3
Fix LALR shift/reduce warnings when debug=True (Issue #258 )
6 years ago
Erez Shinan
3c1c867b5f
Fixed commit 216c341
(Issue #246 , #249 )
6 years ago
Erez Shinan
38a4a5de4e
Version bump
6 years ago
Erez Shinan
216c341b06
Fixed v_args handling of staticmethod and classmethod (Issue #246 , #249 )
6 years ago
Erez Shinan
0881fe122f
Updated mention of GPL for standalone tool (Issue #247 )
6 years ago
Erez Shinan
6c8ba76b79
Fixed a deep bug in grammar analysis involving empty rules (Issue #250 )
6 years ago
Erez Shinan
4a51ebc3d3
Merge pull request #243 from evandrocoan/pydot_tree_orientation
Allow to passing "rankdir" to lark/tree.py:pydot__tree_to_png
6 years ago
evandrocoan
d8c9e1b5e1
Fixed SyntaxError: positional argument follows keyword argument on
lark/tree.py
6 years ago
evandrocoan
91a5a5dfcb
Allow to pass to lark/tree.py pydot__tree_to_png the pydot tree
shaping. For example, passing "TB" instead of "LR" makes the tree
to be draw vertically instead of horizontally.
https://stackoverflow.com/questions/29003465/pydot-graphviz-how-to-order-horizontally-nodes-in-a-cluster-while-the-rest-of-t
6 years ago
Erez Shinan
5f68299cd0
Merge pull request #241 from dsd/master
docs: clarify end_column value
6 years ago
Daniel Drake
01cfe322a1
docs: clarify end_column value
I interpreted "the column where the token ends" to mean "a pointer
to the last character in the token", which would be the same as
the start column for a single-character token.
However, that's not what lark actually reports. Reword to clarify
this.
https://github.com/lark-parser/lark/issues/240
6 years ago
Erez Shinan
a6c84e610e
Update README.md
6 years ago
Erez Shinan
9d360734f3
Tiny fix for docs
6 years ago
Erez Shinan
106508dcce
Tiny improvement to the LALR parser
6 years ago
Erez Shinan
21bbf9b970
Experimental support for importing rules
6 years ago
Erez Shinan
943c1e6b2c
More to .gitignore
6 years ago
Erez Shinan
c16e0ca832
Merge pull request #239 from evandrocoan/add_gitignore
Added missing binary files to .gitignore
6 years ago