lark-parser / lark

Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity.
MIT License
4.77k stars 404 forks source link

Added strict-mode, enabled using the strict=True flag #1261

Closed erezsh closed 1 year ago

erezsh commented 1 year ago

Definitely, I'm going to add some tests.

Sure, I'm pro dataclasses. But they have to be backported for Python 3.6.

MegaIng commented 1 year ago

There is such a backport, I am using it in interegular.

erezsh commented 1 year ago

Yes, I know. That's why I said I'm okay with it.

MegaIng commented 1 year ago

This mode should probably be recommended in the how_to_use file