nowfound

Dev tools · February 21, 2021

PP

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…

Peppa PEG – An Ultra Lightweight PEG Parser in ANSI C launched on February 21, 2021 with 7 votes, #1,401 of 3,133 launches that month and more than 50% of that year's launches.

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…

Does a similar job

all alternatives →
  • Very low footprint JSON parser in portable ANSI C2012 · github.com · ▲111

    Very low footprint DOM-style JSON parser written in portable ANSI C - json-parser/json-parser

  • Using Parsing Expression Grammars to rewrite source code2016 · github.com · ▲63

    An example of PEG usage. Contribute to sebcat/move-literals development by creating an account on GitHub.

  • Bolt – A super-fast, statically-typed scripting language written in C2025 · github.com · ▲261

    I've built many interpreters over the years, and Bolt represents my attempt at building the scripting language I always wanted. This is the first public release, 0.1.0! I've felt like most embedded languages have been moving towards safety and typing over years, with things like Python type hints, the explosive popularity of typescript, and even typing in Luau, which powers one of the largest scripted evironments in the world. Bolt attempts to harness this directly in the lagnauge rather than as a preprocessing step, and reap benefits in terms of both safety and performance. I intend to be…

  • Durdraw – a modern ANSI art editor for modern Unix terminals2024 · github.com · ▲154

    I've been working on an ANSI art editor off and on for a while. It works like a traditional ANSI text editor, except it supports 256 colors, Unicode and CP437 encoding, frame-based animation, custom UI themes, terminal mouse input, HTML and IRC color output, and runs in Utf-8 terminals. It's written in Python and curses, and is fairly portable across Unix systems. If you have ever used TheDraw or Aciddraw, the user interface is similar. It can also load/convert, view, edit and save most CP437 (MS-DOS style) ANSI art in a Utf-8 terminal, so you can view ANSI artscene packs in the comfort…

  • GI
    Going into freshman year, figured I should build an interpreter2023 · ▲138

    Hi all! I'm going into my freshman year, and figured that the best way to prepare for the intro to programming Racket course would be to implement my own garbage-collected, dynamically typed, functional programming language in C ;) Anyways... here's the repo: https://github.com/liam-ilan/crumb I started learning C over the summer, so I still have a whole lot to learn... Any feedback would be greatly appreciated! :D

  • A Fast, Malloc-Free C++14 Json Parser and Encoder2014 · github.com · ▲98

    Meta programming utilities for C++14. Merged in matt-42/lithium - matt-42/iod

More dev tools this month

the category →
  • Contribute to oosexgang/hackios-xnu-kernel development by creating an account on GitHub.

    Dev tools · 2d ago · github.com

  • /dev/null▲492

    a social network for devs

    Dev tools · 5d ago · dev-null.sh

  • open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.

    Dev tools · 30d ago · github.com

  • Contribute to reladraw/reladraw development by creating an account on GitHub.

    Dev tools · 28d ago · github.com

  • OpenBot▲362

    Grok Bot alternative: free, local, open-source, multiplayer

    Dev tools · 25d ago · openbot.run

  • Talanoa▲346

    Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…

    Dev tools · 22d ago · talanoa.email

Source: Show HN post ↗ · launch text quoted in part

Launched alongside, February 2021

the whole month →