julienmalard
f8b0ca3ccc
Code review 3
5 years ago
julienmalard
1b2fc2bda4
Code review #2
5 years ago
julienmalard
364f9ae3a5
Response to code review
5 years ago
julienmalard
74c94bb369
Tests now pass!
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
Erez Sh
aac21d4d19
Minor version bump + Adjustments to PR
5 years ago
Louis Dubois
a423097362
fix: Propagate debug flag on loading grammar from cache
The debug flag is already saved in the cached file, but is not
resumed on loading the dumped file. To solve that,
- add argument `debug` to parser_fronteds.WithLexer.deserialize
- add argument `debug` lalr_parser.LALR_Parser.deserialize
- propagate the value of the `debug` option on resuming a cached
grammar, in lark.Lark._load
5 years ago
Louis Dubois
c6f2b023f3
chg: Force pickle to use highest protocol
Python2.7 uses protocol 1 by default, which is not compatible with
class defining __slots__. On the other hand, all the Python versions
support versions >= 2.
5 years ago
Erez Sh
798a7026b4
Minor version bump + Adjustments to PR
5 years ago
MegaIng1
009cc10590
Added `FromPackageLoader` and `open_from_package`
5 years ago