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 |
Erez Shinan
|
da15f99edb
|
Added the earley_nolex frontend, and a conf_nolex example to use it
|
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
|
387fa07818
|
Moved unless handling to lexer and improved code
|
7 years ago |
Erez Shinan
|
1602482608
|
Improved error reporting in Earley
|
7 years ago |
Erez Shinan
|
eabb86860d
|
Added parsimonious to benchmarks
|
7 years ago |
Erez Shinan
|
977025fded
|
Small parser optimization
|
7 years ago |
Erez Shinan
|
717eabba2c
|
A small parser optimization
|
7 years ago |
Erez Shinan
|
772f1cc0aa
|
Improved error reporting
|
7 years ago |
Erez Shinan
|
e201beab5f
|
Fixed lexer newline counter and other stuff
|
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 |