Peppa PEG – An Ultra Lightweight PEG Parser in ANSI C
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 cardActual performance
Launch Intel predictions
Analyze your own launch →Correct prediction on native model
Similar products
Header-only, extensible C++17 argument parser
Pq, a unixy generic protobuf parser
JMeter JTL Parser in Go
Strongly-Typed Parser Combinators for Dart
Yet Another Argument Parser for C++
NBT/Anvil Parser in Emojicode
Sparser – A Multilanguage Parser
PyIng – Ingredient parser
Naja-Verilog – Structural Verilog Parser
Cron::Parser