Erez Sh
d331a8a1b8
Version bump (alpha)
5 years ago
Erez Shinan
175f787721
Merge pull request #452 from wataash/py3-tutorial-syntax-error
Fix SyntaxError with Python 3 in JSON tutorial
5 years ago
Wataru Ashihara
7a13fb0f5b
Fix SyntaxError with Python 3 in JSON tutorial
unpacking a tuple argument is invalid in Python 3.
>>> def foo(a, (b, c)):
File "<stdin>", line 1
def foo(a, (b, c)):
^
SyntaxError: invalid syntax
Fixes #403
5 years ago
Erez Sh
bb57629418
Added 'edit_terminals' option (Issue #406 )
5 years ago
Erez Shinan
535aebab3c
Added to docs (Issue #400 )
5 years ago
Erez Shinan
f43631949c
Version bump
5 years ago
Erez Shinan
deb325acb4
Pydot now not necessary for earley debug, shows warning instead (Issue #443 )
5 years ago
Erez Shinan
54b18e5961
Allow transformers to transform tokens (Issue #389 )
5 years ago
Erez Shinan
d10182c253
Merge branch 'master' into true_lalr2
5 years ago
Erez Shinan
571bb400e3
Bugfix for regression (Issue #445 )
5 years ago
Erez Shinan
71b17d8e7c
Update __init__.py
5 years ago
Erez Shinan
f06a83a8a7
Better error for literal with bad escaping (Issue #287 )
5 years ago
Erez Sh
56978206a3
No longer confusing aliases and rules when importing (Issue #433 )
5 years ago
Erez Sh
a173117857
Included iter_subtrees and related methods in standalone parser (Issue #440 )
5 years ago
Erez Sh
f86a1c6195
Merge branch 'issue441'
5 years ago
Erez Sh
11cd11394f
Possibly a fix for issue #441
5 years ago
Erez Sh
b6b95c3ff0
Raw docstring to avoid escape warnings (Issue #438 )
5 years ago
Erez Sh
b92d15d63f
NOTE: 'master' branch has been rebased
I (erez) rebased the 'master' branch due to a special circumstance, inolving one of the contributors.
I really hope that won't happen again. If it broke your build or patch, I sincerely apologize, and please let me know.
5 years ago
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
8466981c08
Cleanup
5 years ago
Erez Shinan
de24fa055d
Saving _hash for symbols isn't necessary
5 years ago
Raekye
0c59cba3f5
implement DeRemer and Pennello's lookahead algorithm for LALR(1)
5 years ago
Raekye
6f412c25b7
LALR optimizations and profiling
5 years ago
Raekye
fe2869bd63
merge lalr parser
5 years ago
Raekye
21c41e54a9
lalr parser
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