Erez Sh
288078a6a0
Corrections to PR
4 years ago
Erez Sh
0c47b981fc
Bugfix: Infinite loop on mishandled $END token in on_error (Issue #656 )
4 years ago
Sasank Chilamkurthy
452f3fc061
complete sphinx autodoc
4 years ago
Erez Sh
39fb4c0f3e
Bugfix and warn on ambiguous intermediate nodes, based on PR #651
4 years ago
Erez Sh
af3bedd39d
Adjustments to logging PR
4 years ago
Erez Sh
02d57bc32a
Small adjustments to PR
4 years ago
MegaIng1
cb2d9cded0
Refactored ParserPuppet, added stubs
4 years ago
MegaIng1
2e160c046e
Correction for python2.7 (LalrPuppet-> new style class)
4 years ago
MegaIng1
a7bcd0bc2d
Added `accepts` attribute to `UnexpectedToken` and update stubs
4 years ago
MegaIng1
28e0a86f38
Small improvements for debug info
4 years ago
pwwang
2a73afd355
Change LOGGER to logger
4 years ago
Erez Sh
601f050645
Added docs for ParserPuppet
4 years ago
pwwang
5c8a25c733
Avoid using root logger
4 years ago
Erez Sh
cc1092bd53
Refactored puppet + small fixes
4 years ago
Erez Sh
66a073d0aa
Added support for error handling, using a puppet parser.
TODO: Add docs
4 years ago
Erez Sh
4463524b3a
Puppet initial
4 years ago
Erez Sh
e12e1ccbf9
Minor refactor
4 years ago
Erez Sh
3bee21051e
Reverted changes regarding EOF
4 years ago
Erez Sh
c56112eea3
Added debug prints for parser error (in debug mode)
4 years ago
Erez Sh
dcc98241c1
Improved handling and performance of large grammars
4 years ago
Erez Sh
3a04f49860
Fixed 'end_pos' for xearley, 2nd try (issue #534 )
5 years ago
Erez Sh
a84788087b
Fixed 'end_pos' for xearley (issue #534 )
5 years ago
Erez Sh
3995ad913a
Tiny tiny cleanup
5 years ago
Erez Sh
cf7479f186
Post-merge fixed for end_symbol, + two more tests (Issue #237 )
5 years ago
Erez Sh
fcdba441b4
Better error message for reduce/reduce conflict (Issue #135 )
5 years ago
Erez Sh
b2f1b3bf7c
Small fixes
5 years ago
Erez Sh
b9c81a5450
Refactor: Simplify code by assuming rule.options is never None
5 years ago
Erez Sh
99a27663f6
Better error message
5 years ago
Erez Sh
0a4530b942
Improved Earley error on EOF (Issue #457 )
5 years ago
Erez Sh
94da6c52b8
Refactored the Earley code to make it thread-safe (Issue #454 )
5 years ago
Erez Shinan
deb325acb4
Pydot now not necessary for earley debug, shows warning instead (Issue #443 )
5 years ago
night199uk
dc3c009dca
Tweak the Earley ambiguity algorithm to correctly prefer earlier branches
5 years ago
night199uk
d845aa3bf1
Add debug flag to Early and XEarley to allow dumping the SPPF
5 years ago
Erez Shinan
8466981c08
Cleanup
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
21c41e54a9
lalr parser
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
aa75d50bd5
End symbol working for lalr + fixed validation for undefined %ignore
5 years ago
Erez Shinan
bcc4e67bce
CYK also working
5 years ago
Erez Shinan
71fe87964a
Small refactor in grammar analysis
5 years ago
Erez Shinan
f1e844accd
Mid work. Not promising
5 years ago
Paul Vinciguerra
28e571f1c6
Fix DeprecationWarning in lalr_analysis.py
Under python 3.3+, logging.warn is deprecated.
Use logging.warning instead.
Fixes: /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/lark/parsers/lalr_analysis.py:87: DeprecationWarning: The 'warn' function is deprecated, use 'warning' instead
5 years ago
Erez Shinan
a798dec779
Fix to new serializer code (Discussed in issue #349 )
5 years ago
Erez Shinan
3c64c56bcd
All tests passing
5 years ago
Erez Shinan
94e15fb6f7
Mid work. Almost stable
5 years ago
Erez Shinan
e52cc46fc5
Minor cleanup
5 years ago
Erez Shinan
d13ebb9c15
Using a mostly-generic serialization method
5 years ago