night199uk
ea536820a5
Fix propogate positions for Earley
6 years ago
night199uk
72118eaf8c
Disable some debug that crept in
6 years ago
night199uk
1f5abfc937
Fix Propagate Positions
6 years ago
Erez Shinan
085eba3b8e
Merge branch 'master' into 0.7c
Update from latest 0.6
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
76e185a36c
Added the Forest interface for explicit ambiguity
6 years ago
Erez Shinan
c968e212ff
Added Chris' changes, Dec 2018
Merge remote-tracking branch 'origin/0.7b' into 0.7b
6 years ago
Erez Shinan
870a7611cb
Merge pull request #290 from night199uk/0.7b-joop
Implement Joop Leo's optimisations for right recursion
6 years ago
night199uk
04d90fa916
Implement Joop Leo's optimizations for right recursion performance
6 years ago
night199uk
637f121109
Cleanup unused Derivation
6 years ago
night199uk
8fa8ac36fc
Remove Earley Column
We can replace Earley Columns with basic python sets
for improved performance and simplicity.
6 years ago
night199uk
8415fa26a3
Add a pydot visualizer for the SPPF.
6 years ago
night199uk
bb22c84df3
Speed up repetitive parsing using the same parser
When using the same parser repeatedly for small parsers we incur
significant overhead by recreating the ForestVisitor each parser.
We can cache the Forest walker and re-use it by making it stateless.
Also, we can use slots for all of the Forest Walkers to reduce
construction delay and function call overhead.
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
b2489e13e2
A few fixes (tests + interface)
6 years ago
Erez Shinan
0077366255
Earley now ignores infinite recursion
6 years ago
Erez Shinan
0935543280
Fix issue with propagate_positions
6 years ago
Erez Shinan
74fc559ea5
Reconstructor fixes
6 years ago
Jan Rydzewski
5aa648dfd1
Merge branch 'master' into refactor
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
383db31183
Fix in Earley forest for non-string tokens.
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
3ef84318b1
Removed unused imports and variables
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
63e1ea0226
Merge branch 'earley_sppf' (Oct 18)
6 years ago
Erez Shinan
1798971455
Adjustments
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