PLY
Python Lex-Yacc (by dabeaz)
Construct
Construct: Declarative data structures for python that allow symmetric parsing and building (by construct)
PLY | Construct | |
---|---|---|
2 | 5 | |
2,699 | 876 | |
- | 0.6% | |
1.0 | 7.3 | |
8 months ago | 7 days ago | |
Python | Python | |
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.
PLY
Posts with mentions or reviews of PLY.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-01-02.
-
Why is the grammar that I defined does not use tokens? (LEX/YACC/python)
https://github.com/dabeaz/ply/tree/master/ply you can find yacc and lex files here
-
Good Resources for creating a programming language
dabeaz / ply
Construct
Posts with mentions or reviews of Construct.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-18.
- MPK mini MK3 not working
- In need of assistance with mungewell’s zoom_fx
-
Which not so well known Python packages do you like to use on a regular basis and why?
Construct is really useful for writing parsers/builders for binary protocols.
- Converting G1XFour patches to G1Four?
-
Binary serialization library for at least C++17?
I myself am looking for a binary serializer/deserializer that's like construct in python or construct-js, but obviously I wouldn't need some of the types that they have, since C++ already has them.
What are some alternatives?
When comparing PLY and Construct you can also consider the following projects:
Lark - Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity.
pydantic - Data validation using Python type hints
pyparsing - Python library for creating PEG parsers [Moved to: https://github.com/pyparsing/pyparsing]
sqlparse - A non-validating SQL parser module for Python
Atoma - Atom, RSS and JSON feed parser for Python 3
Pygments
Python Left-Right Parser - Python Parser
phonenumbers - Python port of Google's libphonenumber