lark-parser/lark
View on GitHub ↗ ★ 6,023 Python
Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity.
22 mentions on Hacker News by 14 people: 11 stories, 11 comments · first 2017-02-14 · latest 2026-07-19
20082026
-
▲ 1
Lark: a parsing toolkit for Pythonstory by saikatsg · 2026-07-19 · 0 comments
-
▲ 1
Lark 1.3.0 – Introduces text-slices, Earley fix, and various small improvementsstory by todsacerdoti · 2025-09-23 · 0 comments
-
Some years ago I used the Python library Lark ( https://github.com/lark-parser/lark ) to parse my programming language. It lets you write your grammar in basically EBNF, builds parse trees (that you can automatically reduce by removing…
comment by ForceBru · 2025-08-09 · in Ask HN: In which programming language is it better to make your own language? -
To add to your survey, I have been reading the lark documentation https://github.com/lark-parser/lark and like the cut of it's jib, I have not used it yet as I don't really have any projects that need a full parser.
comment by somat · 2025-07-28 · in Why I write recursive descent parsers, despite their issues (2020) -
…all major IDEs, and even in github itself. For example, here is Lark's built-in grammar for Python: https://github.com/lark-parser/lark/blob/master/lark/grammar... The rationale is that it's more terse and has less visual clutter than a…
comment by erezsh · 2023-08-20 · in Show HN: I wrote a RDBMS (SQLite clone) from scratch in pure Python -
▲ 1
Lark a Python lexer/parser librarystory by ToruiDev · 2023-02-27 · 0 comments
-
If you are trying out parsing in python, I would recommend giving [Lark]( https://github.com/lark-parser/lark ) a try. I have used it for smallish projects are its really easy to use especially with the Earley parser.
comment by ashish01 · 2022-05-07 · in TatSu takes grammars in variation of EBNF, outputs memoizing Python PEG parsers -
When I surveyed what was out there last year I wrote down these 3 as the most interesting: https://github.com/lark-parser/lark https://github.com/neogeny/TatSu https://github.com/dabeaz/sly Lark seems to be the one with traction.
comment by frou_dh · 2022-05-07 · in TatSu takes grammars in variation of EBNF, outputs memoizing Python PEG parsers -
▲ 4
Lark Python parsing toolkit 1.0 releasestory by ashish01 · 2021-11-18 · 0 comments
-
▲ 3
Lark 1.0 released – a parsing toolkit that is friendly, production-ready, and Cstory by todsacerdoti · 2021-11-17 · 1 comment
-
…Of course I could be totally wrong and they might just be dumping pure text in, shutter. [0]: https://github.com/lark-parser/lark
comment by ctoth · 2021-10-27 · in GitHub Copilot available for JetBrains and Neovim -
▲ 2
Lark – a parsing toolkit for Python and JavaScriptstory by ctoth · 2021-10-08 · 0 comments
-
…My company uses it in production. It is by far the easiest parser generator I've ever used. 1. https://github.com/lark-parser/lark
comment by jnwatson · 2021-08-22 · in Parser generators vs. handwritten parsers: surveying major languages in 2021 -
…. No transcript, and I'm not going to listen to it just to figure out the context. https://github.com/lark-parser/lark "implements both Earley(SPPF) and LALR(1)". Kegler, the author of that timeline I linked to, is the author of Marpa. Home
comment by eesmith · 2021-08-21 · in Parser generators vs. handwritten parsers: surveying major languages in 2021 -
…a low-level parser/lexer by using a higher-level format, like context-free grammar (see Lark https://github.com/lark-parser/lark ). Define and maintain a grammar is much easier.
comment by izgzhen · 2021-03-31 · in Turing Award goes to Aho and Ullman -
▲ 4
Lark – a modern parsing library for Pythonstory by bibyte · 2019-03-25 · 1 comment
-
▲ 3
Lark: A modern parsing library for Python, implementing Earley and LALR(1)story by craftyguy · 2018-08-23 · 0 comments
-
▲ 1
Show HN: Lark, a modern parsing library for Python implementing Earley and LALR(1)story by erezsh · 2017-12-20 · 0 comments
-
▲ 2
Show HN: Lark, an easy Earley parser for Pythonstory by erezsh · 2017-07-14 · 0 comments
-
…parse-forests for ambiguity. Just in case you're interested in seeing another implementation: https://github.com/erezsh/lark/blob/master/lark/parsers/earl...
comment by erezsh · 2017-03-18 · in Show HN: Natural Language Earley Parser Algorithm in Python -
▲ 15
Show HN: Lark, a modern parsing library with Earley and LALR(1) implementationsstory by erezsh · 2017-02-14 · 3 comments