Michael Heyvaert
c00f4448fa
fix custom lexer handling for lalr parser + test
5 years ago
Erez Shinan
464f720385
Fix links in README (Issue #422 )
5 years ago
Erez Shinan
def1d2931c
Fixed partials (Issue #398 )
5 years ago
Erez Shinan
59f3a5707b
Fixed partials (Issue #398 )
5 years ago
night199uk
dc3c009dca
Tweak the Earley ambiguity algorithm to correctly prefer earlier branches
5 years ago
night199uk
dc94ebc42f
Fix Earley non-determinism
Rule.order should be set as the index of each expansion with rules
of the same name (e.g: a : b # rule.order 1 | c # rule.order 2).
5 years ago
night199uk
d845aa3bf1
Add debug flag to Early and XEarley to allow dumping the SPPF
5 years ago
Erez Sh
4266db9ca1
Fix for readthedocs (yet another attempt)
5 years ago
Erez Sh
06bc432de3
Fix for readthedocs (another attempt)
5 years ago
Erez Sh
4bf67aa2d6
Fix for readthedocs
5 years ago
Erez Sh
ad9a9cf37a
Added readthedocs.yml (Issue #426 )
5 years ago
Erez Shinan
7e8488d1a0
Fixed issue #425 , keeping in mind unicode issue #411
5 years ago
Erez Shinan
d5036eefdd
Serialize tool: Multiple start symbols + bugfix
5 years ago
Erez Sh
3cdee35af5
Version bump
5 years ago
Erez Shinan
9ca74d7f67
Added the serialize tool for exporting Lark state & analysis
5 years ago
Erez Shinan
71c4abfb24
Fixed error message (Issue #380 )
5 years ago
Erez Shinan
c5c763580e
Fixed test for newline detection
5 years ago
Fábio Macêdo Mendes
03ae3e1c0f
Add .idea (Pycharm) to .gitignore
5 years ago
Fábio Macêdo Mendes
1e4dbac58c
Fix undetected newlines on ignored tokens
5 years ago
Fábio Macêdo Mendes
e8c67839c2
Test if lexer correctly detects newlines
5 years ago
Erez Shinan
dd3a812fea
Version bump (0.7.2)
5 years ago
Erez Shinan
7add0e1f3f
Memoize get_regexp_width (Issue #413 )
5 years ago
Erez Shinan
0d164bd344
Added get_terminal() method (Issue #412 )
5 years ago
Erez Shinan
d952f2a069
Token values are now always unicode (resolves issue #411 )
5 years ago
Erez Shinan
8e9da6a6d6
Minor optimization in LALR (and fix for last commit)
5 years ago
Erez Shinan
39b0d76914
Minor optimization in LALR (thanks to @Raekye )
5 years ago
Erez Shinan
c87cbc6322
Removed some dead code
5 years ago
Erez Shinan
e3cbd7aadc
Negative priority now allowed in rules and tokens. Updated docs about priority
5 years ago
Erez Shinan
94e7e82a19
Updated docstrings for multiple start symbols
5 years ago
Erez Shinan
79ca7616dd
Merge branch 'master' into lalr_refactor2
5 years ago
Erez Shinan
505c46e9ba
Cleaned up a test
5 years ago
Erez Sh
be2e860c83
Added to tests: Make sure the standalone parser is reusable
6 years ago
Erez Shinan
bcc4e67bce
CYK also working
5 years ago
Erez Shinan
2625d68869
multi start, all tests passing except cyk
5 years ago
Erez Shinan
71fe87964a
Small refactor in grammar analysis
5 years ago
Erez Shinan
f1e844accd
Mid work. Not promising
5 years ago
Erez Shinan
39a17f1d56
Fixed broken link in docs (Issue #399 )
5 years ago
Erez Shinan
f814d91f9d
Removed possibly problematic code (Issue #372 )
5 years ago
Erez Shinan
db4ae9d20b
Merge pull request #393 from davaya/master
Clarify handling of filtered terminals
5 years ago
David Kemp
6a14e25f40
Update description of terminals
5 years ago
David Kemp
9a64d2124b
Clarify handling of filtered terminals
5 years ago
Erez Shinan
335be9d289
Update README.md
5 years ago
Erez Shinan
8e81dc0061
Update "Projects using Lark"
5 years ago
Erez Shinan
c85e7f4f48
Merge pull request #371 from pvinci/master
Fix DeprecationWarning in lalr_analysis.py
5 years ago
Erez Shinan
7b43742afd
Fixed IMAG_NUMBER in the Python3 grammar (Issue #387 )
5 years ago
Erez Shinan
e79689dce7
Remove unused rules (Issue #384 )
5 years ago
Erez Shinan
80fd20facb
Merge branch 'elektito-embedded-inplace-transformer'
5 years ago
Erez Shinan
a9106df824
Corrected thee Transformer's whole_tree interface, for both internal and external use
5 years ago
Erez Shinan
f71df240b6
Removed Python2 incompatibility
5 years ago
Mostafa Razavi
e5868415eb
Implement embedded in-place transformers. See #378 .
As discussed in issue #378 , when an embedded transformer (that is, one
passed to the Lark class using the transformer argument), is an
inplace transformer (either a subclass of Transformer_InPlace, or with
the @v_args(tree=True) decorator), the in-place transformer was not
working correctly and in-fact Lark used it like a normal non-in-place
transformer, expecting it to return the transformed value.
5 years ago