Erez Shinan
|
b951b5f79c
|
Significant reduction in memory consumption (Saving only parse-table instead of analysis instance)
|
6 years ago |
Erez Shinan
|
6578742c06
|
BUGFIX: Undefined symbols (Issue #87)
|
6 years ago |
Erez Shinan
|
07f45a0bd3
|
Style fixes
|
6 years ago |
Erez Shinan
|
6c28010581
|
Simplified grammar analysis. Improved performance of FIRST/FOLLOW calculations
|
6 years ago |
Erez Shinan
|
22e525f53e
|
Fixed propagate positions. Added lexer_callbacks option.
|
6 years ago |
Erez Shinan
|
3d8b8b4725
|
A few more adaptations
|
6 years ago |
Erez Shinan
|
b36b8165c7
|
Small fix
|
6 years ago |
Erez Shinan
|
748e9b7248
|
All relevant tests passing. Also indentation and other refactoring.
|
6 years ago |
Erez Shinan
|
d173d6d66b
|
Validate against zero-width terminals in XEarley (Issue #63)
|
6 years ago |
Erez Shinan
|
37c1c0f65f
|
Better error message for bad regexps (Issue #62)
|
6 years ago |
Ehud Tamir
|
7c253b9372
|
Merge CYK parser.
|
6 years ago |
Erez Shinan
|
39e58cb8fd
|
Post-refactor cleanup
|
6 years ago |
Erez Shinan
|
1cc4c965e8
|
Big Refactor: Grammars now build in half the time. Code shorter & cleaner.
|
6 years ago |
Erez Shinan
|
0ee80e675a
|
Refactoring for LALR, added the ParseTable class
|
6 years ago |
Erez Shinan
|
5748920df4
|
BUGFIX in xearley + Feature: earley__predict_all
|
7 years ago |
Erez Shinan
|
c93140386d
|
BUGFIX: The Earley parser collected repeating derivations, and filtered them out much later than needed. This resulted in very long lists and many unnecessary comparisons.
|
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
|
5c4c320c26
|
Small fixes
|
7 years ago |
Erez Shinan
|
0d5dd2bd0d
|
Improved README. Dynamic lexer now generates tokens.
|
7 years ago |
Erez Shinan
|
dda0719375
|
Post-merge cleanup
|
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
|
8e2221b2fd
|
Mid-work. A nice first try
|
7 years ago |
Erez Shinan
|
f374e70b2c
|
Feature: Added explicit ambiguity option for Earley
|
7 years ago |
Erez Shinan
|
00811a7c16
|
Don't construct a list of tokens, to reduce memory footprint
|
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
|
680449fb6b
|
A little bit of cleanup
|
7 years ago |
Erez Shinan
|
5c115acbd9
|
Final fixes for scanless (hopefully)
|
7 years ago |
Erez Shinan
|
d230e7744c
|
Pylint
|
7 years ago |
Erez Shinan
|
a60c339ff7
|
Scanless Earley now working for all tests!
|
7 years ago |
Erez Shinan
|
c9b45823ed
|
Better support for scanless parsing
|
7 years ago |
Erez Shinan
|
a5a20a423a
|
Changed parser/lexer interface in lark. Bumped minor version
|
7 years ago |
Erez Shinan
|
4076256faa
|
Reconstruct working again
|
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
|
0b902b1d03
|
Added the '!' prefix to keep all tokens in rule. Also removed tools (it's now in lark/tools)
|
7 years ago |
Erez Shinan
|
d4425887d6
|
Added conf.py example and indenter support in contextual lexing
|
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 |
Erez Shinan
|
da15f99edb
|
Added the earley_nolex frontend, and a conf_nolex example to use it
|
7 years ago |
Erez Shinan
|
355afa8809
|
Fixed setup.py, version bump
|
7 years ago |
Erez Shinan
|
fee18a8d8a
|
Improvements and cleanup to the earley parser
|
7 years ago |
Erez Shinan
|
f31482c236
|
Lint treatment
|
7 years ago |
Erez Shinan
|
7af3de208d
|
Moved lexing responsibility to parser frontend
|
7 years ago |
Erez Shinan
|
ab23c163d8
|
Fixed bug in lalr parser. Now testing both lalr & earley in test_parser
|
7 years ago |
Erez Shinan
|
115c4c6d21
|
A little order and refactoring
|
7 years ago |
Erez Shinan
|
f1b2e1926c
|
Now supports Python3!
|
7 years ago |