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
|
d8cbd239d7
|
Fixed a bug in string evaluation
|
7 years ago |
Erez Shinan
|
e151d22ea2
|
examples.reconstruct_json now working with scanless
|
7 years ago |
Erez Shinan
|
c1fbb3214c
|
Earley.lexer = None as default now
|
7 years ago |
Erez Shinan
|
6c41a618a5
|
Fixed issue in examples.conf
|
7 years ago |
Erez Shinan
|
d230e7744c
|
Pylint
|
7 years ago |
Erez Shinan
|
4397d38daa
|
Some fixes in examples
|
7 years ago |
Erez Shinan
|
a60c339ff7
|
Scanless Earley now working for all tests!
|
7 years ago |
Erez Shinan
|
df4d471641
|
Updated docs to match v0.2
|
7 years ago |
Erez Shinan
|
abfa14c721
|
Tiny fix in reconstruct_json (Py3)
|
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
|
fbba305a9e
|
Fixed grammars
|
7 years ago |
Erez Shinan
|
a0bb661c61
|
Token import now working
|
7 years ago |
Erez Shinan
|
c70355389f
|
Initial support for EBNF in tokens (automatic compilation to regexps)
|
7 years ago |
Erez Shinan
|
1456daddbe
|
Improved comments in examples
|
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
|
d4425887d6
|
Added conf.py example and indenter support in contextual lexing
|
7 years ago |
Erez Shinan
|
63c8e58e42
|
Fixed calc example
|
7 years ago |
Erez Shinan
|
da15f99edb
|
Added the earley_nolex frontend, and a conf_nolex example to use it
|
7 years ago |
Erez Shinan
|
a438255193
|
Fixed bug in lexer. Fixed calc example
|
7 years ago |
Erez Shinan
|
7ba98c46f6
|
Fixed examples. They didn't work with python3
|
7 years ago |
Erez Shinan
|
57e8117374
|
Some package fixes
|
7 years ago |
Erez Shinan
|
e201beab5f
|
Fixed lexer newline counter and other stuff
|
7 years ago |
Erez Shinan
|
cde2b677bb
|
Added tests and lots of fixes and refactoring
|
7 years ago |
Erez Shinan
|
faf66c93f0
|
Fixed possible tokens collisions (strings are now always tested before regexps)
|
7 years ago |
Erez Shinan
|
c2dbad1335
|
Renamed json_example to json_parser
|
7 years ago |
Erez Shinan
|
9e71f5a045
|
Added indentation support (for python-like languages)
|
7 years ago |
Erez Shinan
|
77d8963bf7
|
Added examples (calc, json)
|
7 years ago |