Chanic Panic
13abf7ca3a
Add test for custom indenter
4 years ago
Erez Shinan
4246477aae
Merge pull request #756 from MegaIng/patch-2
Make `UnexpectedCharacters` print the repr
4 years ago
MegaIng
633a6dfee8
Make `UnexpectedCharacters` print the repr
This is an additional response to #738 .
I also often came across this when unexpectedly having a newline, which would previously result in the message being split up across two lines. This PR makes it easier to identify exactly which special character is causing problems.
4 years ago
Erez Sh
ff155cd21a
Added unicode.lark (Issue #738 )
4 years ago
Chanic Panic
820e185dca
Fix IndexError (issue #754 )
4 years ago
Erez Sh
5149d38e25
tools.nearley: Add support for case-insensitive strings (Issue #753 )
4 years ago
Erez Sh
5b30ba4841
Cleanup, and a few PEP8 changes
4 years ago
julienmalard
f8b0ca3ccc
Code review 3
4 years ago
julienmalard
1b2fc2bda4
Code review #2
4 years ago
julienmalard
364f9ae3a5
Response to code review
4 years ago
julienmalard
02c39a84db
Skipping this test for Python 2 for now.
4 years ago
julienmalard
e5081420c6
Add encoding specification for Python 2
4 years ago
julienmalard
74c94bb369
Tests now pass!
4 years ago
julienmalard
b01c283d47
Failing test
4 years ago
Erez Sh
ab0781d8ab
Merge branch 'chanicpanic-fix-cycle-handling'
4 years ago
Erez Sh
16f2f73d15
Adjust PR - Change warning to debug
4 years ago
Erez Sh
26643eef84
Merge branch 'fix-cycle-handling' of https://github.com/chanicpanic/lark into chanicpanic-fix-cycle-handling
4 years ago
Erez Sh
1a44f8ff91
Release candidate
4 years ago
Chanic Panic
e3c7564fa0
Add debug attribute to ForestToParseTree
4 years ago
Chanic Panic
d6ef539199
Add tests for SPPF cycles
4 years ago
Chanic Panic
c017525e50
Fix issues with SPPF cycle handling
4 years ago
Erez Sh
19fc3c7520
Small fix to Earley debuging
4 years ago
Erez Shinan
0aac2760c8
Merge pull request #739 from imba-tjd/patch-1
4 years ago
谭九鼎
3d0fe705fb
docs/chore: Of -> of
4 years ago
Erez Shinan
20b55fff56
Merge pull request #728 from wiene/fix_typo
Fix a typo
4 years ago
Fabio Zadrozny
661eca61f4
Change typing in lark.pyi: Any -> UnexpectedInput
4 years ago
Erez Shinan
577765ce80
Merge pull request #734 from fabioz/patch-1
4 years ago
Fabio Zadrozny
5735d29f42
Add on_error to parse lark.pyi
4 years ago
Fabio Zadrozny
6d4b0c9676
Fix lark.pyi stub syntax
4 years ago
Erez Sh
762fd82da1
Updated link to SPPF explanation
4 years ago
Erez Sh
2f2f7e70e7
Added SPPF explanation page (mirror, original site went down)
4 years ago
Erez Sh
3aab72fffd
Merge branch 'MegaIng-custom_import_sources'
4 years ago
Erez Sh
bc3923aed8
Added more terminals to grammars/ folder
4 years ago
Erez Sh
f2d66a6d5c
Merge branch 'custom_import_sources' of https://github.com/MegaIng/lark into MegaIng-custom_import_sources
Resolved conflicts manually /erez
4 years ago
Erez Shinan
2170e7edc8
Merge pull request #731 from decorator-factory/master
Add documentation on the `x` regexp flag
4 years ago
decorator-factory
d82264d5c6
Add documentation on the `x` regexp flag
Multiline regexps were added in https://github.com/lark-parser/lark/pull/645
4 years ago
Erez Sh
47df8b5a6a
Improve docs
4 years ago
Erez Shinan
793a7e5a68
Merge pull request #730 from lark-parser/temp_cache
cache=True now uses a temp directory instead of working directory
4 years ago
Erez Sh
b394b7e4ec
Improved docstrings for visitors
4 years ago
MegaIng1
bc9ed5376d
made error message contain actual source code
make _all_terminals a dict
added raw attribute to Pattern
rename nice_print -> user_repr
4 years ago
Erez Sh
f560ce1754
cache=True now uses a temp directory instead of working directory
4 years ago
Peter Wienemann
d95f552ce9
Fix a typo
4 years ago
MegaIng1
605b91e4be
improve error message with token source.
rename LexerConf.terminals to LexerConf.tokens
Make Exception message generation lazy
Made a few classes new-style
4 years ago
Erez Sh
ede2ed78ec
Fix puppet, add immutable puppet with hash
4 years ago
Erez Shinan
6d6e22048d
Merge pull request #725 from lark-parser/resumable3
4 years ago
Erez Sh
4d096fae16
Refactor: Split ParserState into ParseConf
4 years ago
Erez Sh
f20d72d9f6
Fix due to CR - handle UnexpectedCharacters resume in the error loop
4 years ago
Erez Sh
45467e1f61
Changes due to code review by @MegaIng
4 years ago
Erez Sh
a35bc2408a
Change docs man page for 1 to 7 (Issue #720 )
4 years ago
Erez Sh
72e7926097
Completely redesigned the interface between Lexer<->Parser, and refactored LALR parser and lexers
4 years ago