Erez Shinan
|
ac9ea26b58
|
Added token priority for standard lexers.
Big Thanks to Seth G of the mappyfile project for financing this feature!
|
7 years ago |
Erez Shinan
|
0c5acaab8a
|
Refactoring load_grammar
|
7 years ago |
Erez Shinan
|
0d5dd2bd0d
|
Improved README. Dynamic lexer now generates tokens.
|
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
|
188386cf04
|
Fixed main bug in test_token_collision2.
|
7 years ago |
Erez Shinan
|
794a1c4965
|
More flags work
|
8 years ago |
Erez Shinan
|
34acc4674e
|
Added flag options to terminals (just 'i' for now)
|
8 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!
|
8 years ago |
Erez Shinan
|
680449fb6b
|
A little bit of cleanup
|
8 years ago |
Erez Shinan
|
d230e7744c
|
Pylint
|
8 years ago |
Erez Shinan
|
5236e4a32a
|
Refactored TokenDef to store Pattern(Str/RE)
|
8 years ago |
Erez Shinan
|
538f944602
|
My Earley parser is working
|
8 years ago |
Erez Shinan
|
0b902b1d03
|
Added the '!' prefix to keep all tokens in rule. Also removed tools (it's now in lark/tools)
|
8 years ago |
Erez Shinan
|
c8e6122148
|
Restored nice error reports
|
8 years ago |
Erez Shinan
|
387b701670
|
Added Nearley-to-lark converter
|
8 years ago |
Erez Shinan
|
f31482c236
|
Lint treatment
|
8 years ago |
Erez Shinan
|
7af3de208d
|
Moved lexing responsibility to parser frontend
|
8 years ago |
Erez Shinan
|
1602482608
|
Improved error reporting in Earley
|
8 years ago |
Erez Shinan
|
115c4c6d21
|
A little order and refactoring
|
8 years ago |
Erez Shinan
|
cde2b677bb
|
Added tests and lots of fixes and refactoring
|
8 years ago |