(Points to the wrong commit, due to technical issues. Actually refers to commit 13ddc43782e9f3f34fc5331081682c3678df0598)
This release includes:
- Better error reporting
- Several bugfixes
- A new experimental feature: "maybe_placeholders", which replaces missing "maybe"s with a None, instead of removing them.
For example:
python
>>> p = Lark("""!start: "a"? "b"? "c"? """, maybe_placeholders=True)
>>> p.parse('b')
Tree(start, [None, Token(B, 'b'), None])
>>> p.parse('ac')
Tree(start, [Token(A, 'a'), None, Token(C, 'c')])