Show HN: 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://ift.tt/3aBmrqW 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://ift.tt/2M0QQTs February 21, 2021 at 08:10AM
Show HN: StreetComplete, an OpenStreetMap Editor for Humans StreetComplete is an OpenStreetMap[0] editor directed at people who want to contribute and want to do this using their smartphone, without learning how to edit things[1]. It is available as an Android application. It is intended to be used as one walks, with quests appearing as markers on the map. Selecting a marker allows one to answer a simple question. The answer will be added to the OpenStreetMap database, with app handling selecting objects for editing, transforming answer into OSM tags and making edits. OpenStreetMap account is needed to apply edits, but it is possible to start without it, make some edits and login/register later. Note: I am not the main author, but I am one of the active contributors. Github page is at https://ift.tt/2g8lasH and https://ift.tt/3nR9PzS shows what was recently released. [0]OpenStreetMap is a Wikipedia of maps, available on the open licence. This dataset is already used for many interestin...
Comments