TatSu takes grammars in variation of EBNF, outputs memoizing Python PEG parsers

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. TatSu

    竜 TatSu generates Python parsers from grammars in a variation of EBNF

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. Lark

    Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity.

    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.

  4. sly

    Sly Lex Yacc (by dabeaz)

  5. chpeg

    Parsing Expression Grammar (PEG) bytecode parser/compiler library

    To add to your list I just found this project https://github.com/ChrisHixon/chpeg it has good performance and it's relatively simple compared to others.

  6. pegpy

    Nez Parser for Python

  7. nez

    Nez parsing library (by nez-peg)

  8. pyparsing

    Python library for creating PEG parsers

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • JSON extra uses orjson instead of ujson

    4 projects | news.ycombinator.com | 5 Jun 2024
  • utype VS pydantic - a user suggested alternative

    2 projects | 15 Feb 2024
  • Ask HN: Will we see a TypeScript for Python?

    2 projects | news.ycombinator.com | 26 Feb 2023
  • Question about lexer and parser generators in Rust

    8 projects | /r/rust | 11 Feb 2023
  • How do you manage typing between Django backend and a TypeScript frontend?

    4 projects | /r/django | 16 Jan 2023

Did you know that Python is
the 2nd most popular programming language
based on number of references?