Commit Graph

63 Commits

Author SHA1 Message Date
Erez Shinan 07df4b80eb My Earley parser is now working. Not yet plugged in 2017-02-20 00:11:09 +02:00
Erez Shinan 8189172701 recognizer working 2017-02-19 14:49:23 +02:00
Erez Shinan 1456daddbe Improved comments in examples 2017-02-17 23:23:13 +02:00
Erez Shinan 43da0ddad9 Initial reconstruct, working with example!
Definitely needs more work though
2017-02-16 19:34:07 +02:00
Erez Shinan 0b902b1d03 Added the '!' prefix to keep all tokens in rule. Also removed tools (it's now in lark/tools) 2017-02-16 01:36:24 +02:00
Erez Shinan b7dcfbca58 Tools can now be installed via pip 2017-02-15 14:50:47 +02:00
Erez Shinan 137536b6a6 Merge branch 'superlexer2' (Contextual Lexer) 2017-02-15 10:47:18 +02:00
Erez Shinan c8e6122148 Restored nice error reports 2017-02-15 10:41:39 +02:00
Erez Shinan d4425887d6 Added conf.py example and indenter support in contextual lexing 2017-02-15 10:33:22 +02:00
Erez Shinan 63c8e58e42 Fixed calc example 2017-02-15 10:00:01 +02:00
Erez Shinan 520ab88cd8 Added ContextualLexer for LALR. Working, but doesn't seem to improve speed.
Also some issues with python_parser
2017-02-15 00:45:00 +02:00
Erez Sh df80933884 Merge pull request #1 from jwilk/spelling
Fix typos
2017-02-14 23:14:05 +02:00
Jakub Wilk fc9eb012a1 Fix typos 2017-02-14 22:03:07 +01:00
Erez Shinan 3d4ee92829 Fixed bug in load_grammar. Improved nearley converter 2017-02-14 21:15:39 +02:00
Erez Shinan 52753cb3aa Python 3... 2017-02-14 20:25:33 +02:00
Erez Shinan 387b701670 Added Nearley-to-lark converter 2017-02-14 20:24:37 +02:00
Erez Shinan 20e2e477a7 Updated README 2017-02-14 16:54:16 +02:00
Erez Shinan da15f99edb Added the earley_nolex frontend, and a conf_nolex example to use it 2017-02-14 13:12:00 +02:00
Erez Shinan 355afa8809 Fixed setup.py, version bump 2017-02-14 12:44:45 +02:00
Erez Shinan fee18a8d8a Improvements and cleanup to the earley parser 2017-02-13 21:01:02 +02:00
Erez Shinan f31482c236 Lint treatment 2017-02-13 19:28:07 +02:00
Erez Shinan 7af3de208d Moved lexing responsibility to parser frontend 2017-02-13 14:33:22 +02:00
Erez Shinan 387fa07818 Moved unless handling to lexer and improved code 2017-02-13 12:39:05 +02:00
Erez Shinan a438255193 Fixed bug in lexer. Fixed calc example 2017-02-13 07:41:27 +02:00
Erez Shinan 1602482608 Improved error reporting in Earley 2017-02-12 23:31:09 +02:00
Erez Shinan 7ba98c46f6 Fixed examples. They didn't work with python3 2017-02-12 18:37:43 +02:00
Erez Shinan 9c1a81b709 tiny README update 2017-02-12 14:33:14 +02:00
Erez Shinan 09a80ed222 Fixed bug in lexer where unidentical tokens got the same name 2017-02-12 00:36:34 +02:00
Erez Shinan ee798f81f2 Fixed bug where identical anonymous tokens got separate names 2017-02-11 21:15:57 +02:00
Erez Shinan b75fc45a2a Oops 2 2017-02-11 20:04:13 +02:00
Erez Shinan b2fc4f872c oops 2017-02-11 20:01:08 +02:00
Erez Shinan eabb86860d Added parsimonious to benchmarks 2017-02-11 20:00:35 +02:00
Erez Shinan 977025fded Small parser optimization 2017-02-11 17:11:30 +02:00
Erez Shinan 717eabba2c A small parser optimization 2017-02-11 16:57:58 +02:00
Erez Shinan 772f1cc0aa Improved error reporting 2017-02-11 16:42:41 +02:00
Erez Shinan a98d3c93b1 Small additions to the docs 2017-02-11 15:51:47 +02:00
Erez Shinan 57e8117374 Some package fixes 2017-02-11 11:12:15 +02:00
Erez Shinan 2f6f3f9a31 Changed to the MIT license 2017-02-11 10:41:40 +02:00
Erez Shinan e201beab5f Fixed lexer newline counter and other stuff 2017-02-11 00:50:48 +02:00
Erez Shinan e7445a11ae Added a docs/reference 2017-02-10 16:10:13 +02:00
Erez Shinan 45060df80d Optimized the tree builder, and updated docs 2017-02-10 13:19:32 +02:00
Erez Shinan 1fc41c9d02 Added a JSON parser tutorial 2017-02-10 12:55:07 +02:00
Erez Shinan 8b9c5801da Improved lexer, added profiler option to Lark 2017-02-10 11:50:50 +02:00
Erez Shinan 0d48385721 README: Added hello world and parser comparison 2017-02-08 12:19:10 +02:00
Erez Shinan ab23c163d8 Fixed bug in lalr parser. Now testing both lalr & earley in test_parser 2017-02-08 01:28:50 +02:00
Erez Shinan 2ee72baf09 Added a few anon-token names 2017-02-08 01:03:08 +02:00
Erez Shinan 115c4c6d21 A little order and refactoring 2017-02-08 00:53:42 +02:00
Erez Shinan f1b2e1926c Now supports Python3! 2017-02-07 21:56:09 +02:00
Erez Shinan d55598a831 Fixed aliases (broken by re-write of load_grammar) 2017-02-07 21:35:42 +02:00
Erez Shinan 8b182b37c0 Added an automatic 'unless' mechanism for (some) colliding tokens 2017-02-07 20:14:14 +02:00