sly
Sly Lex Yacc (by dabeaz)
TatSu
竜 TatSu generates Python parsers from grammars in a variation of EBNF (by neogeny)
Our great sponsors
sly | TatSu | |
---|---|---|
3 | 4 | |
787 | 391 | |
- | 1.8% | |
0.0 | 8.8 | |
about 1 year ago | 4 days 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.
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
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
What are some alternatives?
When comparing sly and TatSu you can also consider the following projects:
Lark - Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity.
pyparsing - Python library for creating PEG parsers
Covfefe - A parser for nondeterministic context free languages
chpeg - Parsing Expression Grammar (PEG) bytecode parser/compiler library
pyparsing - Python library for creating PEG parsers [Moved to: https://github.com/pyparsing/pyparsing]
nez - Nez parsing library
participle - A parser library for Go
pegpy - Nez Parser for Python
merlin - Context sensitive completion for OCaml in Vim and Emacs
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.