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…
What it does
In the maker’s words, at launch
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
Does the same job
all alternatives →- VLVery low footprint JSON parser in portable ANSI C2012 · github.com · ▲111
- SASparser – A Multilanguage Parser2019 · ▲65
* https://sparser.io * https://github.com/Unibeautify/sparser This is my attempt at creating a universal language parser. It attempts to solve a couple of problems: * Support multiple languages * Recursively extend support to languages embedded within other languages * Output a uniform format for all supported languages This is a personal project so any feedback would be helpful. Something interesting I found after I built it is that this parser is not as fast to write output as many other JavaScript parsers, but its output is much faster to read from due to the…
- LPLearning Project: building an imperative language2020 · ▲36
Hi! I am doing a learning project, attempting to build an imperative language (and interpreter). The end product will be useless for others, I just want to learn and better understand how to build imperative languages. :) If someone else shares this interest and want to give some good hints on good resources I would be grateful. Currently I am looking at an awesome text by Bob Nystrom. All suggestions and tips on resources are most welcome. I am very much a beginner in this, but I find this topic very fascinating. Mail me or post links here! Cheers! You can try a beta version Online at…
- AOAn ORM for C2013 · ▲16
I mentioned this here a week or so back and there was some interest, so I've been tidying things and making the docs available. Announcement: http://isti.bitbucket.org/2013/06/21/orm-for-c-2.html Docs (start here!): https://bitbucket.org/isti/c-orm/wiki/Home Source: https://bitbucket.org/isti/c-orm/src Example app: https://bitbucket.org/isti/c-orm/wiki/SimplePhonebook It's very much beta (not used in any production code yet), so please take care. But the tests work and it's a…
- AAAne, a new chord-based terminal code editor with one-shot CLI editsMay 2026 · github.com · ▲5
I’ve had this idea for a new code editor chord grammar bouncing around in my head for over 2 years, and now I can finally release v0.1 of ane. You can run it one-shot from scripts or agents (`ane exec —chord…`) or use its full-on TUI editor. ane is pure Rust, and integrates tree-sitter and LSP to provide a pleasant and predictable terminal code editing experience. I’d love folks to try it out and give feedback! Thanks :)
- OSOpen-Source Parse (Startup School 2014)2014 · divide.io · ▲28
More dev tools this month
the category →



Open-source GTM skills for technical founders
Dev tools · 29d ago · gtmcofounder.com

OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.
Dev tools · 2d ago · opentrailpaper.com

Launched alongside, February 2021
the whole month →- RS
Life & fun · 2021 · justine.lol
- CT
Dev tools · 2021 · github.com



