Commit Graph

179 Commits

Author SHA1 Message Date
Kaspar Emanuel a87bcf3097 Convert nearley css test into unit test 2017-10-05 13:14:08 +01:00
Kaspar Emanuel e8c02951e4 Add support for nearley @include 2017-10-03 14:32:49 +01:00
Erez Shinan 3b0ab867ef Patch version bump 2017-09-14 01:05:40 +03:00
Erez Shinan 5c02166c3f Bugfix #25: Ambiguity resolver sometimes failed under Python3 2017-09-14 01:04:34 +03:00
Erez Shinan 063c7fbdab Tiny fix for Python3 2017-08-23 11:01:43 +03:00
Erez Shinan aede340449 Added earley__all_derivations due to performance concerns 2017-08-23 10:52:46 +03:00
Erez Shinan 7373993102 Oops!! Important bugfix to last commit 2017-08-23 00:40:27 +03:00
Erez Shinan 950f8817ed Oops!! Important bugfix to last commit 2017-08-22 22:28:47 +03:00
Erez Shinan 2ca44bd74b Version bump 2017-08-22 17:51:06 +03:00
Erez Shinan ac9ea26b58 Added token priority for standard lexers.
Big Thanks to Seth G of the mappyfile project for financing this feature!
2017-08-22 17:47:22 +03:00
Erez Shinan 5d41371fb3 Added resolve__antiscore_sum 2017-08-15 23:06:06 +03:00
Erez Shinan d9b490f322 Refactoring for ambiguity resolution 2017-08-15 22:38:43 +03:00
Erez Shinan 07fcc26422 Bugfix #21: Can now handle recursive ambiguity while still defending against infinite recursion 2017-08-15 18:49:26 +03:00
Erez Shinan 9b8ae7aecb Bugfix: Fixed the %import TOKEN feature 2017-08-15 18:48:03 +03:00
Erez Shinan 4e89084336 Oops 2017-08-06 20:43:41 +03:00
Erez Shinan 121d54ec3a Fix for priority in Earley 2017-08-06 17:50:32 +03:00
Erez Shinan 5c4c320c26 Small fixes 2017-08-06 16:35:02 +03:00
Erez Shinan 0c5acaab8a Refactoring load_grammar 2017-08-04 22:46:20 +03:00
Erez Shinan 57191c699f Version bump 2017-08-04 17:27:18 +03:00
Erez Shinan 9b01fd8294 More README work 2017-08-04 16:58:55 +03:00
Erez Shinan 0d5dd2bd0d Improved README. Dynamic lexer now generates tokens. 2017-08-04 16:55:24 +03:00
Erez Shinan feb95ec64d Earley now uses dynamic lexer by default. Bump to version 0.3.0 2017-08-04 16:05:40 +03:00
Erez Shinan dda0719375 Post-merge cleanup 2017-08-04 15:53:50 +03:00
Erez Shinan 2d0f2af0aa Merge branch 'master' into dyn_earley 2017-08-04 15:16:46 +03:00
Erez Shinan 996ac1e4d4 Complete solution. Only one test failing. 2017-08-04 12:09:36 +03:00
Erez Shinan 4eec924403 Added prioritization to Earley. Use rule.1 etc. Highest priority will be selected in case of ambiguity. 2017-08-04 02:42:31 +03:00
Erez Shinan e7edae0604 Working. All tests passing but two. Minor fixes probably. 2017-08-04 02:07:03 +03:00
Erez Shinan da7eaa219d Version bump 2017-07-26 10:19:54 +03:00
Erez Shinan 188386cf04 Fixed main bug in test_token_collision2. 2017-07-26 10:18:50 +03:00
Erez Shinan ee8dd8b3f3 Added a test suggested by James McLaughlin 2017-07-26 10:17:27 +03:00
Erez Shinan 70fa3c6ea9 Tiny fix for issue #14
Version bump
2017-07-24 20:12:10 +03:00
Erez Shinan 107c596aea Version bump 2017-07-17 17:17:05 +03:00
Erez Shinan 48efa6500a Improvements to the Earley parser ambiguity resolution 2017-07-17 17:11:43 +03:00
Erez Shinan 9570918005 Improved: efficiency of iter_subtrees(), customizability of pretty() 2017-07-17 17:04:42 +03:00
Erez Shinan 1da851516c Added option: Keep all tokens 2017-05-29 00:05:54 +03:00
Erez Shinan 686e796a62 Small improvements to Earley 2017-05-28 19:50:18 +03:00
Erez Shinan 88242f10d7 Tiny fix in lexer 2017-05-28 16:09:41 +03:00
Erez Shinan 40d732ddf5 Added Contribute section to README 2017-05-27 17:19:36 +03:00
Erez Shinan a588a70a7a Added the experimental "propagate_positions" feature (only for standard lexer for now). 2017-05-27 01:55:49 +03:00
Erez Shinan f1aede9acd README: Added 'pytreeview' to projects using lark 2017-05-24 16:12:07 +03:00
Erez Shinan 64d141e486 BUGFIX: Fixes a subtle bug in the LALR(1) parser. See the new test for details. 2017-05-22 12:26:24 +03:00
Erez Shinan e20b54be2f Bugfix for issue #6. Thanks DaRasch! 2017-05-06 18:00:51 +03:00
Erez Shinan 5946e78ed2 Bugfix for Scanless Earley. Thanks Ken! 2017-05-06 17:04:19 +03:00
Erez Shinan 8e2221b2fd Mid-work. A nice first try 2017-05-01 17:08:10 +03:00
Erez Shinan 6ccd6b9faf Added Build Status to README 2017-04-21 02:56:11 +03:00
Erez Shinan 32cbf1eb19 Improvements to the Earley parser code 2017-04-21 02:54:53 +03:00
Erez Shinan cd01700e81 Added codecov badge 2017-04-18 12:09:13 +03:00
Erez Shinan 67c20918e0 Trying travis support 2 2017-04-18 11:48:23 +03:00
Erez Shinan d43afcf74a Trying travis support 2017-04-18 11:43:19 +03:00
Erez Shinan 6d0d9dc434 Tiny README adjustment 2017-04-18 03:16:32 +03:00