Erez Shinan
|
551482898c
|
Fix for earley__all_derivations = False
|
7 years ago |
Erez Shinan
|
035eea234f
|
BUGFIX: Tree comparison in Earley wasn't hashed, which caused a huge spike in run-time for some cases.
|
7 years ago |
Erez Shinan
|
9d065c9642
|
LALR parser: towards generating a standalone (very far away still)
|
7 years ago |
Erez Shinan
|
5c02166c3f
|
Bugfix #25: Ambiguity resolver sometimes failed under Python3
|
7 years ago |
Erez Shinan
|
063c7fbdab
|
Tiny fix for Python3
|
7 years ago |
Erez Shinan
|
aede340449
|
Added earley__all_derivations due to performance concerns
|
7 years ago |
Erez Shinan
|
5d41371fb3
|
Added resolve__antiscore_sum
|
7 years ago |
Erez Shinan
|
d9b490f322
|
Refactoring for ambiguity resolution
|
7 years ago |
Erez Shinan
|
07fcc26422
|
Bugfix #21: Can now handle recursive ambiguity while still defending against infinite recursion
|
7 years ago |
Erez Shinan
|
4e89084336
|
Oops
|
7 years ago |
Erez Shinan
|
121d54ec3a
|
Fix for priority in Earley
|
7 years ago |
Erez Shinan
|
5c4c320c26
|
Small fixes
|
7 years ago |
Erez Shinan
|
0d5dd2bd0d
|
Improved README. Dynamic lexer now generates tokens.
|
7 years ago |
Erez Shinan
|
feb95ec64d
|
Earley now uses dynamic lexer by default. Bump to version 0.3.0
|
7 years ago |
Erez Shinan
|
dda0719375
|
Post-merge cleanup
|
7 years ago |
Erez Shinan
|
996ac1e4d4
|
Complete solution. Only one test failing.
|
7 years ago |
Erez Shinan
|
4eec924403
|
Added prioritization to Earley. Use rule.1 etc. Highest priority will be selected in case of ambiguity.
|
7 years ago |
Erez Shinan
|
e7edae0604
|
Working. All tests passing but two. Minor fixes probably.
|
7 years ago |
Erez Shinan
|
70fa3c6ea9
|
Tiny fix for issue #14
Version bump
|
7 years ago |
Erez Shinan
|
48efa6500a
|
Improvements to the Earley parser ambiguity resolution
|
7 years ago |
Erez Shinan
|
686e796a62
|
Small improvements to Earley
|
7 years ago |
Erez Shinan
|
64d141e486
|
BUGFIX: Fixes a subtle bug in the LALR(1) parser. See the new test for details.
|
7 years ago |
Erez Shinan
|
32cbf1eb19
|
Improvements to the Earley parser code
|
7 years ago |
Erez Shinan
|
f374e70b2c
|
Feature: Added explicit ambiguity option for Earley
|
7 years ago |
Erez Shinan
|
1685f94ea3
|
BUGFIX: Solved an elusive bug in Earley parser, when empty rules repeat in the same column
|
7 years ago |
Erez Shinan
|
00811a7c16
|
Don't construct a list of tokens, to reduce memory footprint
|
7 years ago |
Erez Shinan
|
24f86569da
|
Fixed issue #3 (infinite recursion in grammar)
|
7 years ago |
Erez Shinan
|
a73cc9ad90
|
Re-wrote the Earley parser to use a parse-forest
It now knows how to resolve ambiguity! And in a memory-efficient way!
|
7 years ago |
Erez Shinan
|
616dc9f300
|
Added stuff to README
|
7 years ago |
Erez Shinan
|
29718a9a3a
|
Bugfix in scanless
|
7 years ago |
Erez Shinan
|
5c115acbd9
|
Final fixes for scanless (hopefully)
|
7 years ago |
Erez Shinan
|
d230e7744c
|
Pylint
|
7 years ago |
Erez Shinan
|
302dad36fe
|
Dramatically improved memory consumption of Earley parser
I no longer keep the entire table, only the relevant columns.
I let Python handle garbage collection for me.
|
7 years ago |
Erez Shinan
|
a60c339ff7
|
Scanless Earley now working for all tests!
|
7 years ago |
Erez Shinan
|
c70355389f
|
Initial support for EBNF in tokens (automatic compilation to regexps)
|
7 years ago |
Erez Shinan
|
8e7395c6d6
|
Improved earley.py and added some comments to both parsers
|
7 years ago |
Erez Shinan
|
a0fbecee70
|
Tiny improvement in Earley
|
7 years ago |
Erez Shinan
|
9f00b3fab7
|
Re-wrote Earley's mainloop implementation. Better performance.
Now uses Column & NewsList instead of sets.
|
7 years ago |
Erez Shinan
|
4076256faa
|
Reconstruct working again
|
7 years ago |
Erez Shinan
|
c14435ac95
|
Some cleanup
|
7 years ago |
Erez Shinan
|
c17558dd91
|
Official switched to my Earley implementation
|
7 years ago |
Erez Shinan
|
538f944602
|
My Earley parser is working
|
7 years ago |
Erez Shinan
|
e4d3e74f6a
|
Finished refactoring
|
7 years ago |
Erez Shinan
|
d5123812b0
|
Another step of refactoring
|
7 years ago |
Erez Shinan
|
b95567c4a7
|
Another refactoring step
|
7 years ago |
Erez Shinan
|
972034fd2d
|
Began refactoring of lalr_analysis -> grammar_analysis
|
7 years ago |
Erez Shinan
|
07df4b80eb
|
My Earley parser is now working. Not yet plugged in
|
7 years ago |
Erez Shinan
|
8189172701
|
recognizer working
|
7 years ago |
Erez Shinan
|
c8e6122148
|
Restored nice error reports
|
7 years ago |
Erez Shinan
|
520ab88cd8
|
Added ContextualLexer for LALR. Working, but doesn't seem to improve speed.
Also some issues with python_parser
|
7 years ago |