C Parser

Open-source C projects categorized as Parser

Top 23 C Parser Projects

  1. StringZilla

    Up to 100x faster strings for C, C++, CUDA, Python, Rust, Swift, JS, & Go, leveraging NEON, AVX2, AVX-512, SVE, GPGPU, & SWAR to accelerate search, hashing, sorting, edit distances, sketches, and memory ops 🦖

    Project mention: Jvector And Python! (Part 4 of jvector series) | dev.to | 2026-01-14

    Usearch (Smaller & Faster Single-File Similarity Search & Clustering Engine for Vectors & 🔜 Texts): https://github.com/unum-cloud/usearch

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. parson

    Lightweight JSON library written in C.

  4. md4c

    C Markdown parser. Fast. SAX-like interface. Compliant to CommonMark specification.

  5. tree-sitter-markdown

    Markdown grammar for tree-sitter

    Project mention: Show HN: Ferrite – Markdown editor in Rust with native Mermaid diagram rendering | news.ycombinator.com | 2026-01-10

    This is cool. I was hoping to see progress coming from Zed (e.g. because Tree-sitter → https://github.com/tree-sitter-grammars/tree-sitter-markdown) but it's exciting to see this.

  6. lwesp

    Lightweight and versatile AT parser library for ESP8266 and ESP32 devices.

  7. mini-c

    Dr Strangehack, or: how to write a self-hosting C compiler in 10 hours

  8. tiny-json

    The tiny-json is a versatile and easy to use json parser in C suitable for embedded systems. It is fast, robust and portable.

  9. packcc

    A parser generator for C

  10. jsonlite

    Simple JSON Parser and Generator for R (by jeroen)

  11. zsv

    zsv+lib: tabular data swiss-army knife CLI + world's fastest (simd) CSV parser

    Project mention: Ruby CSV Parsing 5-6x Faster | dev.to | 2025-12-07

    I wrapped zsv, a SIMD-accelerated CSV parser written in C, into a Ruby gem. SIMD means it uses special CPU instructions to process multiple bytes at once - the same tech that makes video encoding and game physics fast.

  12. gherkin

    A parser and compiler for the Gherkin language.

    Project mention: Specsmaxxing – On overcoming AI psychosis, and why I write specs in YAML | news.ycombinator.com | 2026-05-03

    I agree, Cucumber works really well with LLMs.

    > I use a mix of Markdown and Gherkin

    Gherkin also has a Markdown based syntax that is not well known:

    https://github.com/cucumber/gherkin/blob/main/MARKDOWN_WITH_...

    I prefer that to the 'verbose' original syntax. MDG also renders nicely in code forges.

  13. tree-sitter-bash

    Bash grammar for tree-sitter

  14. tree-sitter-ruby

    Ruby grammar for tree-sitter

  15. tree-sitter-html

    HTML grammar for Tree-sitter

  16. tree-sitter-haskell

    Haskell grammar for tree-sitter.

  17. libconfini

    Yet another INI parser

    Project mention: MAML – a new configuration language (similar to JSON, YAML, and TOML) | news.ycombinator.com | 2025-10-12

    In practice, there are still types, they are just validated by your application. I didn’t want Confetti itself to make assumptions. I wanted to give you the freedom to define your own custom types and keywords, like “on” and “off”, or even tri-states like “yes”, “no”, “maybe”.

    The problem with mandatory keywords, like “true” and “false”, is they box you into the English language. And how many data types are baked in is arbitrary, for example, TOML has data types for date and time, but JSON does not [1]. Where do you draw the line? Confetti let’s you decide.

    You might enjoy reading this take on the subject [2].

    [1] https://toml.io/en/v1.0.0#offset-date-time

    [2] https://github.com/madmurphy/libconfini/wiki/An-INI-critique...

  18. pl0c

    Self-hosting PL/0 to C compiler to teach basic compiler construction from a practical, hands-on perspective.

  19. gmime

    A C/C++ MIME creation and parser library with support for S/MIME, PGP, and Unix mbox spools.

    Project mention: Incremental Backups of Gmail Takeouts | news.ycombinator.com | 2025-12-29

    Have you looked into using a full MIME/mbox parser library, e.g. GMime [0] or MimeKit [1]? Both support parsing mbox files directly, and they should be able to handle the intricacies of parsing any messages/attachments you throw at them. Then you could write out the MIME representation of each message (including any attachments) into its own file and then check for new messages. That way you can be sure each “chunk” represents a single message in its entirety. Not sure if this is any better since your solution seems to work pretty well.

    [0] https://github.com/jstedfast/gmime

    [1] https://github.com/jstedfast/MimeKit

  20. libwifi

    An 802.11 (WiFi) Frame Generation and Parsing Library in C

    Project mention: Libwifi: An 802.11 frame parsing and generation library written in C | news.ycombinator.com | 2025-11-15
  21. sqlite-createtable-parser

    A parser for SQLite create table sql statements.

  22. serd

    A lightweight C library for RDF syntax

  23. stutter

    Implement a Lisp, in C, from scratch, no libs (by mkirchner)

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C Parser discussion

Log in or Post with

C Parser related posts

  • Calculator C Parser

    1 project | news.ycombinator.com | 22 Mar 2026
  • grab VS coreutils - a user suggested alternative

    2 projects | 11 Mar 2026
  • Ruby CSV Parsing 5-6x Faster

    2 projects | dev.to | 7 Dec 2025
  • Show HN: ZSV – A fast, SIMD-based CSV parser and CLI toolkit

    1 project | news.ycombinator.com | 23 Oct 2025
  • PackCC – Compact PEG Parser Generator for C

    1 project | news.ycombinator.com | 27 Jan 2025
  • Removing global state from LLD, the LLVM linker

    2 projects | news.ycombinator.com | 21 Nov 2024
  • Mastering JSX Editing in Emacs with Tree-sitter

    1 project | dev.to | 15 May 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 15 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Parser projects in C? This list will help you:

# Project Stars
1 StringZilla 3,490
2 parson 1,451
3 md4c 1,365
4 tree-sitter-markdown 609
5 lwesp 556
6 mini-c 531
7 tiny-json 428
8 link-grammar 416
9 packcc 411
10 jsonlite 404
11 zsv 389
12 gherkin 351
13 tree-sitter-bash 311
14 tree-sitter-ruby 226
15 tree-sitter-html 207
16 tree-sitter-haskell 184
17 libconfini 181
18 pl0c 154
19 gmime 144
20 libwifi 138
21 sqlite-createtable-parser 137
22 serd 98
23 stutter 83

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that C is
the 6th most popular programming language
based on number of references?