lark
lark copied to clipboard
Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity.
**Describe the bug** Lark 1.2.2 supported custom lexers focused on parsing non-textual stream of data . Lark 1.3.0 has broken that support, as you can see running stable documentation's example:...
This PR makes the following improvements. Documentation: - Add docstrings for `visit_children_decor` and various methods of `Interpreter`. - Correct the top-level docs for `Visitor` to clarify that it can traverse...
Thanks for this useful package. I was positively surprised how fast I went from the need for a code generator with a simple DSL to a script that parses source...
Quite randomly, I realized today that there is a way to make the contextual lexer more memory efficient. Currently, the contextual-lexer generates a basic-lexer for each set of accepted tokens....