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
|
43da0ddad9
|
Initial reconstruct, working with example!
Definitely needs more work though
|
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
|
b7dcfbca58
|
Tools can now be installed via pip
|
7 years ago |
Erez Shinan
|
c8e6122148
|
Restored nice error reports
|
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
|
3d4ee92829
|
Fixed bug in load_grammar. Improved nearley converter
|
7 years ago |
Erez Shinan
|
387b701670
|
Added Nearley-to-lark converter
|
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
|
387fa07818
|
Moved unless handling to lexer and improved code
|
7 years ago |
Erez Shinan
|
a438255193
|
Fixed bug in lexer. Fixed calc example
|
7 years ago |
Erez Shinan
|
1602482608
|
Improved error reporting in Earley
|
7 years ago |
Erez Shinan
|
09a80ed222
|
Fixed bug in lexer where unidentical tokens got the same name
|
7 years ago |
Erez Shinan
|
ee798f81f2
|
Fixed bug where identical anonymous tokens got separate names
|
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
|
a98d3c93b1
|
Small additions to the docs
|
7 years ago |
Erez Shinan
|
57e8117374
|
Some package fixes
|
7 years ago |
Erez Shinan
|
2f6f3f9a31
|
Changed to the MIT license
|
7 years ago |
Erez Shinan
|
e201beab5f
|
Fixed lexer newline counter and other stuff
|
7 years ago |
Erez Shinan
|
e7445a11ae
|
Added a docs/reference
|
7 years ago |
Erez Shinan
|
45060df80d
|
Optimized the tree builder, and updated docs
|
7 years ago |
Erez Shinan
|
8b9c5801da
|
Improved lexer, added profiler option to Lark
|
7 years ago |
Erez Shinan
|
0d48385721
|
README: Added hello world and parser comparison
|
7 years ago |
Erez Shinan
|
ab23c163d8
|
Fixed bug in lalr parser. Now testing both lalr & earley in test_parser
|
7 years ago |
Erez Shinan
|
2ee72baf09
|
Added a few anon-token names
|
7 years ago |
Erez Shinan
|
115c4c6d21
|
A little order and refactoring
|
7 years ago |
Erez Shinan
|
f1b2e1926c
|
Now supports Python3!
|
7 years ago |
Erez Shinan
|
d55598a831
|
Fixed aliases (broken by re-write of load_grammar)
|
7 years ago |
Erez Shinan
|
8b182b37c0
|
Added an automatic 'unless' mechanism for (some) colliding tokens
|
7 years ago |
Erez Shinan
|
56f68655ca
|
Fixed a small bug in parser error reporting
|
7 years ago |
Erez Shinan
|
2e8f74c774
|
Better error reporting in lexer and lalr parser
|
7 years ago |
Erez Shinan
|
cde2b677bb
|
Added tests and lots of fixes and refactoring
|
7 years ago |
Erez Shinan
|
aecb4f5aa7
|
Added regex embedding for tokens
|
7 years ago |
Erez Shinan
|
faf66c93f0
|
Fixed possible tokens collisions (strings are now always tested before regexps)
|
7 years ago |
Erez Shinan
|
9e71f5a045
|
Added indentation support (for python-like languages)
|
7 years ago |