Pe

Peppa PEG – An Ultra Lightweight PEG Parser in ANSI C

Hacker News

Peppa PEG – An Ultra Lightweight PEG Parser in ANSI C

After reading the [PEG Parsers series] written by Guido van Rossum, I started thinking writing a PEG Parser in ANSI C. Here are the reasons: - It's FUN. I've made several parser libraries, such as JSON, Mustache, Markdown, and I think I can take the challenge now. - I haven't had any opportunity to work on an Open Source project written in ANSI C. - Having a PEG parser in ANSI C can benefit whoever is developing a parser, as adding C bindings for other programming languages are not too difficult. And after SIX months' development, my project is now kinda feature complete. It's named Peppa PEG and you can find it here: https://github.com/soasme/PeppaPEG I have learned quite a lot during the journey of creating it, such as gdb, valgrind, cmake, etc. And I wouldn't make it to the end without learning from some awesome projects, such as pest.rs, cJSON, etc. Appreciate any feedbacks! Thank you! [PEG Parsers series]: https://medium.com/@gvanrossum_83706/peg-parsers-7ed72462f97c

Share card

Actual performance

7points
5comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Hacker NewsStrong engagement from HN community · Strong signals: open source · Missing: https docs, excited, just released
64%64% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Indie HackersFits the IH revenue-focused audience · Strong signals: started · Missing: supports, reddit linkedin, podcasting
63%63% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Product HuntOn track for Day 1 leaderboard · Strong signals: open · Missing: mac, agents, macos
57%57% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
TrustMRRFits verified-revenue profile · Strong signals: month · Missing: mobile apps, ios, personal
54%54% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
40%40% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
14%14% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

He
Header-only, extensible C++17 argument parser50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Header-only, extensible C++17 argument parser

Hacker News21
Pq
Pq, a unixy generic protobuf parser31%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Pq, a unixy generic protobuf parser

Hacker News6
JM
JMeter JTL Parser in Go42%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

JMeter JTL Parser in Go

Hacker News1
St
Strongly-Typed Parser Combinators for Dart44%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Strongly-Typed Parser Combinators for Dart

Hacker News1
Ye
Yet Another Argument Parser for C++42%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Yet Another Argument Parser for C++

Hacker News1
NB
NBT/Anvil Parser in Emojicode42%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

NBT/Anvil Parser in Emojicode

Hacker News1
Sp
Sparser – A Multilanguage Parser63%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Sparser – A Multilanguage Parser

Hacker News65
Py
PyIng – Ingredient parser63%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

PyIng – Ingredient parser

Hacker News107
Na
Naja-Verilog – Structural Verilog Parser29%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Naja-Verilog – Structural Verilog Parser

Hacker News17
Cr
Cron::Parser59%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Cron::Parser

Hacker News1