Erez Shinan
|
33caa391d5
|
Breaking backwards compatibility:
* Removed the scanless parsing feature (dynamic lexing is king)
* Default LALR lexer is now contextual
|
6 years ago |
Erez Shinan
|
4a5aa745ea
|
All tests passing
|
6 years ago |
Erez Shinan
|
cf7ddeee88
|
Earley working too
|
6 years ago |
Erez Shinan
|
67f372c994
|
Symbols instead of strings - initial
|
6 years ago |
Erez Shinan
|
25c3c51b1c
|
Fixed bug in Earley: A tree builder optimization clashed with explicit ambiguity
|
6 years ago |
Erez Shinan
|
d77f93c818
|
Standalone generator working again. Updated examples
|
7 years ago |
Erez Shinan
|
d5c617f0fe
|
BUGFIX: Non-linearity in tree construction, causing performance issues for large inputs (Issue #94)
|
7 years ago |
Erez Shinan
|
ebdad8f144
|
Refactored parse_tree_builder, much small and cleaner now
|
7 years ago |
Erez Shinan
|
22e525f53e
|
Fixed propagate positions. Added lexer_callbacks option.
|
7 years ago |
Erez Shinan
|
5ac4120b71
|
Stand-alone tool working for LALR+traditional lexer (first commit)
|
7 years ago |
Erez Shinan
|
da1910f5b6
|
More refactoring towards standalone
|
7 years ago |
Erez Shinan
|
07b5469e86
|
More refactoring, untangling grammar compilation and parse-tree creation
|
7 years ago |
Erez Shinan
|
38c5fd244a
|
Improved grammar validation and refactored the lexers
|
7 years ago |
Erez Shinan
|
1cc4c965e8
|
Big Refactor: Grammars now build in half the time. Code shorter & cleaner.
|
7 years ago |
Erez Shinan
|
baae08e399
|
Fixed tree-construction semantics: Alias now overrides the "?rule" operator
Breaking change!!
|
7 years ago |
Erez Shinan
|
b3cb2f433b
|
Towards an introspectable tree-builder
|
7 years ago |
Erez Shinan
|
19a9c9c206
|
Towards an introspectable tree-builder. Also added tests.
|
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
|
1da851516c
|
Added option: Keep all tokens
|
7 years ago |
Erez Shinan
|
a588a70a7a
|
Added the experimental "propagate_positions" feature (only for standard lexer for now).
|
7 years ago |
Erez Shinan
|
e151d22ea2
|
examples.reconstruct_json now working with scanless
|
8 years ago |
Erez Shinan
|
5c115acbd9
|
Final fixes for scanless (hopefully)
|
8 years ago |
Erez Shinan
|
a60c339ff7
|
Scanless Earley now working for all tests!
|
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
|
f31482c236
|
Lint treatment
|
8 years ago |
Erez Shinan
|
09a80ed222
|
Fixed bug in lexer where unidentical tokens got the same name
|
8 years ago |
Erez Shinan
|
772f1cc0aa
|
Improved error reporting
|
8 years ago |
Erez Shinan
|
45060df80d
|
Optimized the tree builder, and updated docs
|
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 |