Chanic Panic
93d70e8a41
Replace ForestToTreeVisitors with ForestToParseTree
4 years ago
Chanic Panic
4adc871bf1
Add ForestTransformer
4 years ago
Chanic Panic
67ae0e2b16
Moderate updates and improvements to ForestVisitor
- add methods for visiting intermediate nodes
- add method to notify subclass of cycles
- support returning iterables of nodes from visit*node_in functions
- remove result and visit return value
- also add children property to PackedNode
4 years ago
Jonah Yolles-Murphy
6cd706279a
make Trees and Tokens' reprs' evalable
4 years ago
Erez Sh
fe89296193
Improved load_grammar's error messages, and added tests
4 years ago
Omega16
a01de190d3
Added pydot__tree_to_dot and pydot__tree_to_graph, changed pydot__tree_to_png
4 years ago
Erez Sh
b87acedac4
Fixed docs. Added support for hashing ParserPuppet
4 years ago
Erez Sh
42ada346cd
Corrected docstring
4 years ago
Erez Sh
6f48b23383
Fix imports
4 years ago
Erez Sh
afde561ac3
Refactored reconstructor out into tree_matcher. Functionality should stay the same.
4 years ago
Erez Sh
96b0cfbbc4
Docs: error in docs..
4 years ago
Erez Sh
49914424df
Docs: Tiny fix (rst)
4 years ago
Erez Sh
fdd5c83588
Updated docstring for Token
4 years ago
starwarswii
10dd3d7299
corrected caret placement in error messages due to tabs
fixes #663
4 years ago
Sasank Chilamkurthy
298e7cfce6
add end options in docstring
4 years ago
Chanic Panic
e459f28743
Add AmbiguousIntermediateExpander
4 years ago
Chanic Panic
b076efadff
Create CompleteForestToAmbiguousTreeVisitor
4 years ago
Erez Sh
023709f710
Added comment
4 years ago
MegaIng
f86c4cf14d
Fixed Failing tests
4 years ago
julienmalard
a768506945
Erez's idea
4 years ago
Sasank Chilamkurthy
e6edc109b7
options part of lark.Lark's docs
4 years ago
Erez Sh
b601525798
Added logger.debug() prints for unused rules and terminals ( #658 )
4 years ago
Erez Sh
eae1693c76
Docs: Moved some examples away from docstrings
4 years ago
Erez Sh
bf2d9bf7b1
Standalone generator now remove docstrings and comments.
The result is a much smaller file.
4 years ago
Erez Sh
c6438007a7
A tiny fix
4 years ago
Erez Sh
288078a6a0
Corrections to PR
4 years ago
julienmalard
7a67f0d027
Postproc option for reconstruct, and fixed isalnum bug
4 years ago
Erez Sh
0c47b981fc
Bugfix: Infinite loop on mishandled $END token in on_error (Issue #656 )
4 years ago
Sasank Chilamkurthy
f107512cb3
change to definition format for larkoptins
4 years ago
Sasank Chilamkurthy
83006aa0c8
fix unicode import bug
4 years ago
Sasank Chilamkurthy
b18e7e143b
fix random bug
4 years ago
Sasank Chilamkurthy
452f3fc061
complete sphinx autodoc
4 years ago
Sasank Chilamkurthy
1928b00682
document rest of the visitor
4 years ago
Sasank Chilamkurthy
cad22acf0f
document lark.Interpreter, lark.Transformer
4 years ago
Sasank Chilamkurthy
168e6db2d1
document lark.Visitor
4 years ago
Sasank Chilamkurthy
fd08f470e2
document lark.Token
4 years ago
Sasank Chilamkurthy
b753e24b2f
document lark.Tree
4 years ago
Sasank Chilamkurthy
9e34dc94e9
document LarkOptions
4 years ago
Sasank Chilamkurthy
cc24dcffa4
document lark.Lark
4 years ago
Erez Sh
39fb4c0f3e
Bugfix and warn on ambiguous intermediate nodes, based on PR #651
4 years ago
Erez Sh
af3bedd39d
Adjustments to logging PR
4 years ago
Blank Spruce
5559b1a211
Add missing elements in standalone parser
Add:
- missing imports
- __version__ variable
Additionally regenerated json parser example
4 years ago
Erez Sh
2f4831f9b6
Small refactor after PR
4 years ago
Blank Spruce
96873d64ba
Make transformer work with tokens in standalone parser, fixes #648
4 years ago
Erez Sh
2c7afed894
Small fixes
4 years ago
Erez Sh
02d57bc32a
Small adjustments to PR
4 years ago
MegaIng1
cb2d9cded0
Refactored ParserPuppet, added stubs
4 years ago
MegaIng1
2e160c046e
Correction for python2.7 (LalrPuppet-> new style class)
4 years ago
MegaIng1
d3b0449f71
Improved `match_examples` with `UnexpectedToken.accepts`
4 years ago
MegaIng1
a7bcd0bc2d
Added `accepts` attribute to `UnexpectedToken` and update stubs
4 years ago