Hacker GitHub

← All repos

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

Mentions per year 22 mentions · busiest year 2021 (7)
20082026
  1. ▲ 1
    Lark: a parsing toolkit for Python
    story by saikatsg · 2026-07-19 · 0 comments
  2. ▲ 1
    Lark 1.3.0 – Introduces text-slices, Earley fix, and various small improvements
    story by todsacerdoti · 2025-09-23 · 0 comments
  3. 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…
  4. 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.
  5. …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…
  6. ▲ 1
    Lark a Python lexer/parser library
    story by ToruiDev · 2023-02-27 · 0 comments
  7. 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.
  8. 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.
  9. ▲ 4
    Lark Python parsing toolkit 1.0 release
    story by ashish01 · 2021-11-18 · 0 comments
  10. ▲ 3
    Lark 1.0 released – a parsing toolkit that is friendly, production-ready, and C
    story by todsacerdoti · 2021-11-17 · 1 comment
  11. …Of course I could be totally wrong and they might just be dumping pure text in, shutter. [0]: https://github.com/lark-parser/lark
  12. ▲ 2
    Lark – a parsing toolkit for Python and JavaScript
    story by ctoth · 2021-10-08 · 0 comments
  13. …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
  14. …. 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
  15. …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
  16. ▲ 4
    Lark – a modern parsing library for Python
    story by bibyte · 2019-03-25 · 1 comment
  17. ▲ 3
    Lark: A modern parsing library for Python, implementing Earley and LALR(1)
    story by craftyguy · 2018-08-23 · 0 comments
  18. ▲ 1
    Show HN: Lark, a modern parsing library for Python implementing Earley and LALR(1)
    story by erezsh · 2017-12-20 · 0 comments
  19. Hi, I'm the author of this Python parsing library: https://github.com/erezsh/lark I would like to port it (or parts of it) to Rust, for fun and speed. Since the grammars are EBNF, it means the same grammars can work in both Rust and Python…
    comment by erezsh · 2017-10-15 · in Rust 1.21
  20. ▲ 2
    Show HN: Lark, an easy Earley parser for Python
    story by erezsh · 2017-07-14 · 0 comments
  21. …parse-forests for ambiguity. Just in case you're interested in seeing another implementation: https://github.com/erezsh/lark/blob/master/lark/parsers/earl...
  22. ▲ 15
    Show HN: Lark, a modern parsing library with Earley and LALR(1) implementations
    story by erezsh · 2017-02-14 · 3 comments