TatSu
竜 TatSu generates Python parsers from grammars in a variation of EBNF (by neogeny)
sly
Sly Lex Yacc (by dabeaz)
Our great sponsors
TatSu | sly | |
---|---|---|
4 | 3 | |
391 | 787 | |
1.8% | - | |
9.0 | 0.0 | |
about 1 month ago | about 1 year ago | |
Python | Python | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
TatSu
Posts with mentions or reviews of TatSu.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-07.
- GitHub - neogeny/TatSu: TatSu generates Python parsers from grammars in a variation of EBNF
-
Hacker News top posts: May 7, 2022
TatSu takes grammars in variation of EBNF, outputs memoizing Python PEG parsers\ (3 comments)
- TatSu takes grammars in variation of EBNF, outputs memoizing Python PEG parsers
sly
Posts with mentions or reviews of sly.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-07.
- TatSu takes grammars in variation of EBNF, outputs memoizing Python PEG parsers
-
Any equivalent to Haskell's "where"?
David Beazley's sly abuses metaclasses to allow writing code like this:
-
What arcane magic makes quotes unnecessary in defining sly's tokenlist?
It does some metaclass magic to make this work: https://github.com/dabeaz/sly/blob/master/sly/lex.py
What are some alternatives?
When comparing TatSu and sly you can also consider the following projects:
Lark - Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity.
Covfefe - A parser for nondeterministic context free languages
pyparsing - Python library for creating PEG parsers
pyparsing - Python library for creating PEG parsers [Moved to: https://github.com/pyparsing/pyparsing]
chpeg - Parsing Expression Grammar (PEG) bytecode parser/compiler library
participle - A parser library for Go
nez - Nez parsing library
merlin - Context sensitive completion for OCaml in Vim and Emacs
pegpy - Nez Parser for Python
parse_it - A python library for parsing multiple types of config files, envvars & command line arguments that takes the headache out of setting app configurations.