starwarswii
082e0f3de7
fixed lark.lark requiring newline at the end of grammars
lark.lark didn't parse grammars that didn't have a trailing newline in the file, but lark itself has no problem parsing those grammars
this change makes lark.lark more accurate in reflecting what grammars are parsed by lark.
4 years ago
starwarswii
7ce69c7c91
fixed lark.lark not accepting negative priorities
using `SIGNED_INT` instead of `INT` more closely matches the the grammar used by lark in `load_grammar.py`
4 years ago
Erez Sh
4dafccfcc8
Added link to vim syntax highlighter
4 years ago
Erez Sh
faecf32592
Restore the Lark.terminals attribute when using cached grammar
4 years ago
Erez Shinan
dc30692015
Merge pull request #689 from rec/tests
Test print argument to lark.tools.standalone.main
4 years ago
Tom Ritchford
fcf6e8e98e
Test print argument to lark.tools.standalone.main
4 years ago
Erez Shinan
5a357d5d88
Merge pull request #688 from rec/upstream/master
Add print parameter to lark.tools.standalone.main
4 years ago
Tom Ritchford
ce32310f49
Add print parameter to lark.tools.standalone.main
4 years ago
Erez Sh
62776b9908
Added type information for UnexpectedEOF (Issue #686 )
4 years ago
Erez Sh
fbab27ce0b
Attempt to add markdown tables
4 years ago
Erez Sh
18ead0e216
Attempt to add markdown tables
4 years ago
Erez Sh
e6caa035ca
Tiny docs fix
4 years ago
Erez Sh
555b268eb2
Merge branch 'chanicpanic-forest-transformer'
4 years ago
Erez Sh
156bd7577f
Adjustments and fixes for PR
4 years ago
Erez Sh
98497cf49e
Merge branch 'forest-transformer' of https://github.com/chanicpanic/lark into chanicpanic-forest-transformer
4 years ago
Chanic Panic
50c9cda6b5
Pass list to on_cycle instead of function
4 years ago
Erez Sh
88d4659c29
Improvements to puppet + other small stuff
4 years ago
Erez Shinan
756aa0354f
Merge pull request #680 from TG-Techie/evalable_repr
4 years ago
TG-Techie
b733ce4384
Merge pull request #2 from TG-Techie/master
added test
4 years ago
TG-Techie
9cebf44091
Merge branch 'evalable_repr' into master
4 years ago
Jonah Yolles-Murphy
b82f7177cb
added test
4 years ago
Chanic Panic
9db869cc80
Add PackedData class
4 years ago
TG-Techie
e4de6fc3de
Merge pull request #1 from lark-parser/master
pull error fix form upstream commit
4 years ago
Erez Sh
968d1652d8
Fixed issue in grammar error-reporting due to unordered dict (changed it to list)
4 years ago
Chanic Panic
b89ee6b2fc
Write tests for TreeForestTransformer
4 years ago
Chanic Panic
9c967fafb0
Add ambiguity='forest' option
4 years ago
Chanic Panic
607f984523
Create TreeForestTransformer
4 years ago
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
TG-Techie
d08418e059
Merge branch 'master' into evalable_repr
4 years ago
Jonah Yolles-Murphy
6cd706279a
make Trees and Tokens' reprs' evalable
4 years ago
Erez Sh
4e37b754f5
Merge branch 'omega16-graphivz_dot_output'
4 years ago
Erez Sh
078fa150be
Adjusted features.md and README.md
4 years ago
Erez Sh
d238541916
Merge branch 'graphivz_dot_output' of https://github.com/omega16/lark into omega16-graphivz_dot_output
4 years ago
Erez Sh
fe89296193
Improved load_grammar's error messages, and added tests
4 years ago
Omega16
0b99356a39
added make_dot
4 years ago
Omega16
3edd27f3df
Added mention to lark output as dot or png
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
1ad46b2a9a
Fixed examples (Issue #669 )
4 years ago
Erez Sh
c9bd6d491f
Fixes for examples
4 years ago
Erez Shinan
89accea61c
Merge pull request #672 from lark-parser/tree_matcher
4 years ago
Erez Sh
42ada346cd
Corrected docstring
4 years ago
Erez Shinan
d407280746
Merge pull request #668 from chsasank/sasank/sphinx-gallery
requirements for docs
4 years ago
Erez Shinan
a88d3b0ee2
Merge pull request #667 from lark-parser/tree_matcher
Refactored reconstructor out into tree_matcher
4 years ago
Sasank Chilamkurthy
29a877ce35
requirements for docs
4 years ago
Erez Sh
6f48b23383
Fix imports
4 years ago
Erez Sh
f565c1edcd
Merge branch 'chsasank-sasank/sphinx-gallery'
4 years ago
Erez Sh
afebbf7348
Adjustments
4 years ago