Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →
Top 15 parsing-library Open-Source Projects
-
Lark
Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
jsonify-opening-hours
a python library to convert arbitrary strings representing business opening hours into a JSON format that's easier to use in code
-
Lexepars
Concise monadic parser combinator library with separate lexer/parser phases, off-side rule and big-size input support.
-
molextract
Parse Molcas/OpenMolcas (and other computational chemistry software) output files in a modular way
-
imparse
Parser generator that can be used to quickly and succinctly define a parser definition, and to deploy an automatically-generated implementations thereof in multiple languages and on multiple platforms.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Project mention: Show HN: I wrote a RDBMS (SQLite clone) from scratch in pure Python | news.ycombinator.com | 2023-08-13Lark supports, and recommends, writing and storing the grammar in a .lark file. We have syntax highlighting support in 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...
You can also test grammars "live" in our online IDE: https://www.lark-parser.org/ide/
The rationale is that it's more terse and has less visual clutter than a DSL over Python, which makes it easier to read and write.
While I suspect I would learn more writing a tokenizer and parsing logic myself I find grammars much easier to read and maintain.
ANTLR is pretty good and is supported across several languages and something I had previously used for some quick Elasticsearch query syntax munging in Python. It also means you can often start from an already existing grammar.
The JS version of ANTLR didn't seem to work for me so for the SQL/JSONPath stuff ended up using the Moo lever and Nearly parser which was rather pleasant. https://nearley.js.org
After over a year since the last release of pyparsing, I've bundled up all the bug-fixes and changes, and they are now released as pyparsing 3.1.0. Visit this link for the details.
parsing-library related posts
- Is it possible to propagate higher level constructs (+, *) to the generated parse tree in an LR-style parser?
- can you create your own program language in python, if yes how?
- Lark a Python lexer/parser library
- Create your own scripting language in Python with Sly
- Creating a language with Python.
- Not Your Grandfather’s Perl
- How to create a Template Engine?
-
A note from our sponsor - InfluxDB
www.influxdata.com | 26 Apr 2024
Index
What are some of the best open-source parsing-library projects? This list will help you:
Project | Stars | |
---|---|---|
1 | Lark | 4,481 |
2 | nearley | 3,548 |
3 | pyparsing | 2,086 |
4 | psychec | 496 |
5 | myna-parser | 77 |
6 | parson | 57 |
7 | konbini | 39 |
8 | jsonify-opening-hours | 8 |
9 | Lexepars | 7 |
10 | molextract | 7 |
11 | tptp | 6 |
12 | BazPO | 6 |
13 | imparse | 5 |
14 | go-parsing | 4 |
15 | parsem | 4 |
Sponsored