Erez Sh
27ef9fcbf0
Add information about debug=True (Issue #750 )
5 years ago
Erez Sh
5f230c6663
Version bump
5 years ago
Erez Sh
cd78243b82
Examples: Added new syntax to python grammar
5 years ago
MegaIng1
2d8bd42315
Make `LALR_CustomLexerWrapper` behave correctly + tests
5 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.
5 years ago
Erez Sh
ff155cd21a
Added unicode.lark (Issue #738 )
5 years ago
Chanic Panic
820e185dca
Fix IndexError (issue #754 )
5 years ago
Erez Sh
5149d38e25
tools.nearley: Add support for case-insensitive strings (Issue #753 )
5 years ago
Erez Sh
5b30ba4841
Cleanup, and a few PEP8 changes
5 years ago
Erez Sh
16f2f73d15
Adjust PR - Change warning to debug
5 years ago
Erez Sh
1a44f8ff91
Release candidate
5 years ago
Chanic Panic
e3c7564fa0
Add debug attribute to ForestToParseTree
5 years ago
Chanic Panic
c017525e50
Fix issues with SPPF cycle handling
5 years ago
Erez Sh
19fc3c7520
Small fix to Earley debuging
5 years ago
Erez Sh
762fd82da1
Updated link to SPPF explanation
5 years ago
Erez Sh
bc3923aed8
Added more terminals to grammars/ folder
5 years ago
Erez Sh
47df8b5a6a
Improve docs
5 years ago
Erez Sh
b394b7e4ec
Improved docstrings for visitors
5 years ago
Erez Sh
f560ce1754
cache=True now uses a temp directory instead of working directory
5 years ago
Erez Sh
ede2ed78ec
Fix puppet, add immutable puppet with hash
5 years ago
Erez Sh
4d096fae16
Refactor: Split ParserState into ParseConf
5 years ago
Erez Sh
f20d72d9f6
Fix due to CR - handle UnexpectedCharacters resume in the error loop
5 years ago
Erez Sh
45467e1f61
Changes due to code review by @MegaIng
5 years ago
Erez Sh
72e7926097
Completely redesigned the interface between Lexer<->Parser, and refactored LALR parser and lexers
5 years ago
Erez Sh
115edbfb32
Rewrite lexer to use LexerState
5 years ago
Peter Wienemann
e02b1b6669
Fix various typos
5 years ago
Erez Sh
b5aeb812e0
Better error message for options. More tests for priority
5 years ago
Erez Sh
e84a64fc52
Added support for rule priorities in LALR
5 years ago
Erez Sh
2dbfa2573a
Added non-recursive transformer to default imports
5 years ago
Erez Sh
decb3cdcef
Fix for compression. Use base64 for compatibility
5 years ago
Erez Sh
6a9759d620
Added optional compression to standalone parser
5 years ago
Erez Sh
08677238b6
Minor edit
5 years ago
MegaIng1
2700b794b9
add `--verbose` option & make warnings comments
fixup! make warnings comments
5 years ago
MegaIng1
2d74539424
lark.tools.serialize and standalone can now take more options. Also added info where options need to be added
5 years ago
Erez Sh
e4d73526d4
Refactor
5 years ago
Erez Sh
f2a6feddf1
Tiny fixes
5 years ago
Erez Sh
c196f99cd4
Better reduce/reduce errors
5 years ago
MegaIng1
ee9857cabb
Added backwards-compatibility property with DeprecationWarning
5 years ago
MegaIng1
ab5bc3f47e
Improved comment
5 years ago
MegaIng1
bd22a2f79e
Removed _LOAD_BLOCKED_OPTIONS
5 years ago
MegaIng1
acd04442bc
Fix for cache
5 years ago
MegaIng1
e1b572c3a9
Allows the standalone parser to take more options.
5 years ago
Tom Ritchford
fb925f8b31
Guard Lark.__doc__ assignment for tools.standalone
5 years ago
MegaIng1
9370fb5aa5
Fix for tree_matcher
5 years ago
MegaIng1
dcde0bcbe9
Prevent terminals from being filtered out when used in always_accept
5 years ago
MegaIng1
3112259b23
Fix for maybe_placeholders when keep_all_tokens=True
5 years ago
MegaIng1
5f7a5d428a
renamed `source_code` -> `source_grammar`
5 years ago
MegaIng1
a4260110ff
added PackageResource
5 years ago
MegaIng1
f7d466dc7d
added PackageResource
5 years ago
MegaIng1
a50fc10773
import_paths->sources, source->source_path, various implementation changes
5 years ago