-
**Describe the bug**
Sometimes (e.g. not reliable/random chance), the `TreeMatcher` (and therefore the `Reconstructor` applies trees like this:
```
expr
literal "a"
"5"
"5"
```
…
-
I'm getting the error `Dynamic Earley doesn't support weights on terminals` when I try to compile _humanized_opening_hours_
This should come from https://github.com/lark-parser/lark/issues/383
-
The existing cheatsheet is here: https://github.com/lark-parser/lark/blob/master/docs/lark_cheatsheet.pdf
The design and format are somewhat lacking.
-
**Issue by [blemasso](https://github.com/blemasso)**
_Monday May 13, 2019 at 11:50 GMT_
_Originally opened as https://github.com/populse/populse_mia/issues/84_
----
**Describe the bug**
When I typ…
-
https://lark-parser.readthedocs.io/en/latest/recipes/
![image](https://user-images.githubusercontent.com/5332158/69010083-6b3af300-093a-11ea-9ead-0ddb74b59b39.png)
The recipe 2, is ok as…
-
I tried streaming a big file with
```python
ifcopenshell.open("xxx",should_stream=True)
```
but i get an error at this function at the third line:
```python
def get_parent_group(cls, gro…
-
(not 100% sure this is a bug).
```python
import lark
parser = lark.Lark(
"""
%ignore WS_INLINE
%import common (WS_INLINE)
DIGIT: "0" | "1"
start: a a b
a: DIGIT
b: "0"
"…
-
It's possible to improve Lark's speed, for all algorithms, by performing grammar simplification. Specifically, it's possible to merge adjacent anonymous terminals together, to reduce the parser work l…
-
With latest version 4.3.3:
```
File "/home/piotrzal/SRC/DEVOPS/modules-manager/docs_venv/lib/python3.8/site-packages/lark/lexer.py", line 598, in next_token
raise UnexpectedCharacters(lex_sta…
-
Not likely to happen naturally, but possible.
For example:
parser = lark.Lark("start: a\na: b\n b:c\n c:a\n | /a/")
parser.parse('a')
Throws all parsers into an infinite loop (the cy…