{"repo":"lark-parser/lark","free":true,"listed":false,"github":"https://github.com/lark-parser/lark","clone":"git clone https://github.com/lark-parser/lark.git","description":"Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity.","language":"Python","stars":5958,"topics":["parser","parsing-library","parser-library","parsing-engine","earley","lalr","python","lark","cyk","grammar"],"license":"MIT","category":"dev-tools","readme_excerpt":"Lark - a parsing toolkit for Python Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity. Lark can parse all context-free languages. To put it simply, it means that it is capable of parsing almost any programming language out there, and to some degree most natural languages too. Who is it for? - Beginners : Lark is very friendly for experimentation. It can parse any grammar you throw at it, no matter how complicated or ambiguous, and do so efficiently. It also constructs an annotated parse-tree for you, using only the grammar and an input, and it gives you convenient and flexible tools to process that parse-tree. - Experts : Lark implements both Earley(SPPF) and LALR(1), and several different lexers, so you can trade-off power and speed, according to your requirements. It also provides a variety of sophisticated features and utilities. What can it do? - Parse all context-free grammars, and handle any ambiguity gracefully - Build an annotated parse-tree automagically, no construction code required. - Provide first-rate performance in terms of both Big-O complexity and measured run-time (considering that this is Python ;) - Run on every Python interpreter (it's pure-python) - Generate a stand-alone parser (for LALR(1) grammars) And many more features. Read ahead and find out! Most importantly, Lark will save you time and prevent you from getting parsing headaches. Quick links - Documentation @readthedocs - Cheatsheet (PDF) - Online ","default_branch":null,"files":null,"tree":[],"storefront":"/r/lark-parser","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lark-parser/lark/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}