Erez Sh
17b6d6d3b3
BUGFIX for declared terminals
5 years ago
Erez Shinan
0a2ff289d5
Merge pull request #463 from timofurrer/bugfix/exc-state
Copy exc state when converting UnexpectedCharacters to UnexpectedToken exc. Fixes #462
5 years ago
Timo Furrer
9f218f85b6
Copy exc state when converting UnexpectedCharacters to UnexpectedToken exc. Fixes #462
5 years ago
Erez Sh
f3714a572f
Now prints a nice warning instead of failing tests when js2py isn't installed
5 years ago
Erez Sh
35e1029034
Start parameter now accepts unicode in Python 2 (Issue #459 )
5 years ago
Erez Shinan
17982b3092
Merge pull request #458 from ffranchina/fix_typos
Fixed some typos in the docs
5 years ago
Francesco Franchina
8685a5afc3
Fixed some typos in the docs
5 years ago
Erez Sh
0a4530b942
Improved Earley error on EOF (Issue #457 )
5 years ago
Erez Sh
f566a3618b
Bugfix: Lark now throws an error for recursive terminals (Issue #264 )
5 years ago
Erez Sh
404fef87f4
Version bump
5 years ago
Erez Sh
94da6c52b8
Refactored the Earley code to make it thread-safe (Issue #454 )
5 years ago
Erez Sh
a207963e46
Improved error reporting (Issue #194 )
5 years ago
Erez Sh
a7e7b568ff
Fixed contextual lexer error that was confusing users (Issue #194 )
5 years ago
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