lark icon indicating copy to clipboard operation
lark copied to clipboard

Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity.

Results 194 lark issues
Sort by recently updated
recently updated
newest added

I really like the new python match construct but it seems the Tree datatype doesn't currently support it. I can monkey patch it in with `Tree.__match_args__ = ("data", "children")` ,...

enhancement
good first issue

At present the [Shared Packed Parse Forest (SPPF) documentation](https://github.com/lark-parser/lark/blob/2f7c9a4e52ab82bbf1fd00699c79e8a6826fd9c4/docs/_static/sppf/sppf.html) makes use of bootstrap 4. [Bootstrap 4 reached end-of-life on January 1, 2023](https://getbootstrap.com/docs/4.6/end-of-life/). Therefore it would be nice to migrate the...

help wanted
good first issue
docs

Hi. I added a lexer for the lalr parser as a complement, which mimics the behavior of the Unix tool [Lex](https://man7.org/linux/man-pages/man1/lex.1p.html) and libraries such as [flex](https://westes.github.io/flex/manual/Matching.html#Matching). The behavior in question...

## Description I am new to using LALR and I'm attempting to implement a grammar as follows: ``` A: "a" B: "b" a: b A b: (A | B)+ ```...

question