MegaIng1
dd3cf90b2d
Moved `lark.lark` into the standard library.
4 years ago
Erez Sh
c715426f32
Version bump to 0.11.1
4 years ago
Erez Sh
27ef9fcbf0
Add information about debug=True (Issue #750 )
4 years ago
Erez Sh
5f230c6663
Version bump
4 years ago
Erez Sh
cd78243b82
Examples: Added new syntax to python grammar
4 years ago
MegaIng1
2d8bd42315
Make `LALR_CustomLexerWrapper` behave correctly + tests
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
Erez Sh
16f2f73d15
Adjust PR - Change warning to debug
4 years ago
Erez Sh
1a44f8ff91
Release candidate
4 years ago
Chanic Panic
e3c7564fa0
Add debug attribute to ForestToParseTree
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 Sh
762fd82da1
Updated link to SPPF explanation
4 years ago
Erez Sh
bc3923aed8
Added more terminals to grammars/ folder
4 years ago
Erez Sh
47df8b5a6a
Improve docs
4 years ago
Erez Sh
b394b7e4ec
Improved docstrings for visitors
4 years ago
Erez Sh
f560ce1754
cache=True now uses a temp directory instead of working directory
4 years ago
Erez Sh
ede2ed78ec
Fix puppet, add immutable puppet with hash
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
72e7926097
Completely redesigned the interface between Lexer<->Parser, and refactored LALR parser and lexers
4 years ago
Erez Sh
115edbfb32
Rewrite lexer to use LexerState
4 years ago
Peter Wienemann
e02b1b6669
Fix various typos
4 years ago
Erez Sh
b5aeb812e0
Better error message for options. More tests for priority
4 years ago
Erez Sh
e84a64fc52
Added support for rule priorities in LALR
4 years ago
Erez Sh
2dbfa2573a
Added non-recursive transformer to default imports
4 years ago
Erez Sh
decb3cdcef
Fix for compression. Use base64 for compatibility
4 years ago
Erez Sh
6a9759d620
Added optional compression to standalone parser
4 years ago
Erez Sh
08677238b6
Minor edit
4 years ago
MegaIng1
2700b794b9
add `--verbose` option & make warnings comments
fixup! make warnings comments
4 years ago
MegaIng1
2d74539424
lark.tools.serialize and standalone can now take more options. Also added info where options need to be added
4 years ago
Erez Sh
e4d73526d4
Refactor
4 years ago
Erez Sh
f2a6feddf1
Tiny fixes
4 years ago
Erez Sh
c196f99cd4
Better reduce/reduce errors
4 years ago
MegaIng1
ee9857cabb
Added backwards-compatibility property with DeprecationWarning
4 years ago
MegaIng1
ab5bc3f47e
Improved comment
4 years ago
MegaIng1
bd22a2f79e
Removed _LOAD_BLOCKED_OPTIONS
4 years ago
MegaIng1
acd04442bc
Fix for cache
4 years ago
MegaIng1
e1b572c3a9
Allows the standalone parser to take more options.
4 years ago
Tom Ritchford
fb925f8b31
Guard Lark.__doc__ assignment for tools.standalone
4 years ago
MegaIng1
9370fb5aa5
Fix for tree_matcher
4 years ago
MegaIng1
dcde0bcbe9
Prevent terminals from being filtered out when used in always_accept
4 years ago
MegaIng1
3112259b23
Fix for maybe_placeholders when keep_all_tokens=True
4 years ago
MegaIng1
5f7a5d428a
renamed `source_code` -> `source_grammar`
4 years ago
MegaIng1
a4260110ff
added PackageResource
4 years ago