Erez Sh
5954fdf87a
Restore bad code (needs better fix). Updated readme & docs.
4 years ago
Erez Sh
61a7c1e20a
Removed code that causes failure in Python 3.4
4 years ago
MegaIng1
0c89189b5f
Support for bytes parser
4 years ago
Aleh Arol
e6daf51f25
Make token type check fallback disabled by default
4 years ago
Erez Sh
4463524b3a
Puppet initial
4 years ago
Aleh Arol
732a562a1c
Use token type equality as a fallback when matching error examples
4 years ago
Erez Sh
3b901a06b0
Added docs (Spurred by issue #510 )
4 years ago
Erez Shinan
1815bd7fbd
Support for token visitation in internal transformers, as an alternative mechanism for lexer_callbacks
5 years ago
Erez Sh
0a4530b942
Improved Earley error on EOF (Issue #457 )
5 years ago
Erez Shinan
f1e844accd
Mid work. Not promising
5 years ago
Aurelien Grenotton
cbafa4d7bb
Make VisitError inherit from LarkError
The recently added VisitError is the only lark exception not inheriting from LarkError,
which makes it painful to catch for client application.
6 years ago
Erez Shinan
6a6dd97c52
VisitError now allows explicit access to previous exception (Issue #314 )
6 years ago
Erez Shinan
688c453456
Corrections
6 years ago
Erez Shinan
8e7c05a8f6
Added VisitError for transformers
6 years ago
night199uk
d7a6b01d8a
Ensure that Exceptions with Unicode content display correctly
6 years ago
Erez Shinan
bd7e331ad7
Slightly better error message (UnexpectedToken)
6 years ago
Erez Shinan
843da8e809
Fixed bugs in the standalone generator (Issue #212 )
6 years ago
Erez Shinan
dd69b95338
Cleanup after pylint
6 years ago
Erez Shinan
cffd610e77
Fixed reconstructor. All tests passing
6 years ago
Erez Shinan
1247a8c330
Improved error messages (as pointed out in issue #181 )
6 years ago
Erez Shinan
e7212261b2
Fixed examples for error reporting
6 years ago
Erez Shinan
5c6df8e825
Moved and restructured exceptions
* All exceptions are now under exceptions.py
* UnexpectedInput is now superclass of UnexpectedToken and UnexpectedCharacters,
all of which support the get_context() and match_examples() methods.
6 years ago