Erez Shinan
|
6c41a618a5
|
Fixed issue in examples.conf
|
7 years ago |
Erez Shinan
|
96ebe94963
|
Solved issue #3: infinite loop due to zero-length tokens
|
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
|
4397d38daa
|
Some fixes in examples
|
7 years ago |
Erez Shinan
|
a60c339ff7
|
Scanless Earley now working for all tests!
|
7 years ago |
Erez Shinan
|
be6aa4f726
|
Fixed string escaping and unicode handling
|
7 years ago |
Erez Shinan
|
2973167cf0
|
Added a test for empty rules
|
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
|
5236e4a32a
|
Refactored TokenDef to store Pattern(Str/RE)
|
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
|
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
|
499eb19c77
|
Merge branch 'myearley'
|
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
|
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
|
b7dcfbca58
|
Tools can now be installed via pip
|
7 years ago |
Erez Shinan
|
137536b6a6
|
Merge branch 'superlexer2' (Contextual Lexer)
|
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
|
63c8e58e42
|
Fixed calc example
|
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 Sh
|
df80933884
|
Merge pull request #1 from jwilk/spelling
Fix typos
|
7 years ago |
Jakub Wilk
|
fc9eb012a1
|
Fix typos
|
7 years ago |
Erez Shinan
|
3d4ee92829
|
Fixed bug in load_grammar. Improved nearley converter
|
7 years ago |
Erez Shinan
|
52753cb3aa
|
Python 3...
|
7 years ago |
Erez Shinan
|
387b701670
|
Added Nearley-to-lark converter
|
7 years ago |
Erez Shinan
|
20e2e477a7
|
Updated README
|
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 |