Erez Shinan
|
6578742c06
|
BUGFIX: Undefined symbols (Issue #87)
|
6 years ago |
Erez Shinan
|
7d11dfa5cd
|
FEATURE: Added support for ranged-repeat for rules and terminals (Issues #75, #19)
Syntax: symbol~number
| symbol~min..max
Example:
HEXCOLOR: "#" (HEXDIGIT~3 | HEXDIGIT~6)
short_sentence: word~4..20
Added range for tokens
|
6 years ago |
Erez Shinan
|
22e525f53e
|
Fixed propagate positions. Added lexer_callbacks option.
|
6 years ago |
Erez Shinan
|
748e9b7248
|
All relevant tests passing. Also indentation and other refactoring.
|
6 years ago |
Erez Shinan
|
d173d6d66b
|
Validate against zero-width terminals in XEarley (Issue #63)
|
6 years ago |
Erez Shinan
|
5fd331be54
|
BUGFIX: Internally repetitive rules are now handled silently (Issue #60)
|
6 years ago |
Erez Shinan
|
38c5fd244a
|
Improved grammar validation and refactored the lexers
|
6 years ago |
Erez Shinan
|
2d04acf227
|
Version 0.5.0 is out with lots of improvements
|
6 years ago |
Erez Shinan
|
209ac5ab4e
|
BUGFIX: Mishandling of quotes (Issue #50)
|
7 years ago |
Erez Shinan
|
dcb7297c30
|
Flags are now part of the terminal identity
|
7 years ago |
Erez Shinan
|
6f85ca4294
|
%ignore bug fixed in xearley (thanks to issue #44)
|
7 years ago |
Erez Shinan
|
34449651bf
|
Added UnexpectedInput exception (with line & column) to xearley (Issue #43)
|
7 years ago |
Erez Shinan
|
08a8a747b8
|
Fixed escaping for all tests
|
7 years ago |
Erez Shinan
|
593446d025
|
Improved Readme
|
7 years ago |
Erez Shinan
|
27fb1889cf
|
Added test
|
7 years ago |
Erez Shinan
|
816266a5eb
|
BUGFIX for issue #24: Dynamic Earley mishandled %ignore tokens
|
7 years ago |
Erez Shinan
|
692307f683
|
Added the fruitflies test. Found bug in scanless reconstruction of tokens
|
7 years ago |
Erez Shinan
|
e8810e3b80
|
Fixed some deprecation warnings due to changes in Py3.6 regexps
|
7 years ago |
Erez Shinan
|
baae08e399
|
Fixed tree-construction semantics: Alias now overrides the "?rule" operator
Breaking change!!
|
7 years ago |
Erez Shinan
|
035eea234f
|
BUGFIX: Tree comparison in Earley wasn't hashed, which caused a huge spike in run-time for some cases.
|
7 years ago |
Kaspar Emanuel
|
e05c62ca06
|
Add test for nearley include of unicode
|
7 years ago |
Kaspar Emanuel
|
b491138d9a
|
Make nearley tool main testable and test it
|
7 years ago |
Kaspar Emanuel
|
25399b4a21
|
Add tests for utf8 with nearley
|
7 years ago |
Erez Shinan
|
b532bf4e3c
|
Fixed test
|
7 years ago |
Erez Shinan
|
19a9c9c206
|
Towards an introspectable tree-builder. Also added tests.
|
7 years ago |
Kaspar Emanuel
|
ed04b22c4c
|
Fix UTF-8 test
|
7 years ago |
Kaspar Emanuel
|
7d21c754a1
|
Add test for UTF-8 characters in grammar
|
7 years ago |
Kaspar Emanuel
|
15c0ef1570
|
Switch nearley submodule to original repo
|
7 years ago |
Kaspar Emanuel
|
ceae390650
|
Add test for multi-include
|
7 years ago |
Kaspar Emanuel
|
1bf1c1f0f9
|
Remove unused import
|
7 years ago |
Kaspar Emanuel
|
f82ba5ea3b
|
Make nearley css test load grammar from submodule
|
7 years ago |
Kaspar Emanuel
|
21ecd9a319
|
Write test for nearley include
|
7 years ago |
Kaspar Emanuel
|
a87bcf3097
|
Convert nearley css test into unit test
|
7 years ago |
Erez Shinan
|
aede340449
|
Added earley__all_derivations due to performance concerns
|
7 years ago |
Erez Shinan
|
950f8817ed
|
Oops!! Important bugfix to last commit
|
7 years ago |
Erez Shinan
|
ac9ea26b58
|
Added token priority for standard lexers.
Big Thanks to Seth G of the mappyfile project for financing this feature!
|
7 years ago |
Erez Shinan
|
5d41371fb3
|
Added resolve__antiscore_sum
|
7 years ago |
Erez Shinan
|
9b8ae7aecb
|
Bugfix: Fixed the %import TOKEN feature
|
7 years ago |
Erez Shinan
|
0c5acaab8a
|
Refactoring load_grammar
|
7 years ago |
Erez Shinan
|
dda0719375
|
Post-merge cleanup
|
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
|
ee8dd8b3f3
|
Added a test suggested by James McLaughlin
|
7 years ago |
Erez Shinan
|
1da851516c
|
Added option: Keep all tokens
|
7 years ago |
Erez Shinan
|
64d141e486
|
BUGFIX: Fixes a subtle bug in the LALR(1) parser. See the new test for details.
|
7 years ago |
Erez Shinan
|
5946e78ed2
|
Bugfix for Scanless Earley. Thanks Ken!
|
7 years ago |
Erez Shinan
|
8e2221b2fd
|
Mid-work. A nice first try
|
7 years ago |
Erez Shinan
|
d43afcf74a
|
Trying travis support
|
7 years ago |
Erez Shinan
|
f374e70b2c
|
Feature: Added explicit ambiguity option for Earley
|
7 years ago |
Erez Shinan
|
1685f94ea3
|
BUGFIX: Solved an elusive bug in Earley parser, when empty rules repeat in the same column
|
7 years ago |
Erez Shinan
|
794a1c4965
|
More flags work
|
7 years ago |