C Parser

Open-source C projects categorized as Parser

Top 23 C Parser Projects

  • inih

    Simple .INI file parser in C, good for embedded systems

    Project mention: Include library with meson | reddit.com/r/C_Programming | 2022-03-31

    I don't know if it's the best place to post that but on the meson subreddit there is not much people. I want to include the library INIH (which use meson too) to my project but I don't know how.

  • parson

    Lightweight JSON library written in C.

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • md4c

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

  • mini-c

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

  • lwesp

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

    Project mention: LwESP library for ESP8266 and ESP32 MCUs | reddit.com/r/microcontrollers | 2022-02-16
  • jsonlite

    A Robust, High Performance JSON Parser and Generator for R (by jeroen)

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • 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.

    Project mention: jemi: a compact JSON serializer for embedded systems | reddit.com/r/embedded | 2022-10-05
  • tree-sitter-markdown

    A markdown grammar for tree-sitter

    Project mention: New(ish) plugin: ts-vimdoc.nvim, generate vimdoc from your README.md for your plugin using tree-sitter | reddit.com/r/neovim | 2022-07-01

    The original repo wasn't working since the move from ikatyang/tree-sitter-markdown to the new markdown parser by /u/deinemade/ MDeiml/tree-sitter-markdown so I kept maintaining it as a fork with the absolute basics just so I could generate the vimdoc for fzf-lua.

  • packcc

    A parser generator for C

    Project mention: PackCC a PEG parser generator for C | news.ycombinator.com | 2023-01-02
  • libconfini

    Yet another INI parser

    Project mention: libconfini: Yet another INI parser | reddit.com/r/C_Programming | 2022-07-20
  • zsv

    zsv+lib: world's fastest (simd) CSV parser, with an extensible CLI for SQL querying, format conversion and more

    Project mention: csvkit: Command-line tools for working with CSV | news.ycombinator.com | 2023-01-20

    I wanted so much to use csvkit and all the features it had, but its horrendous performance made it unscalable and therefore the more I used it, the more technical debt I accumulated.

    This was one of the reasons I wrote zsv (https://github.com/liquidaty/zsv). Maybe csvkit could incorporate the zsv engine and we could get the best of both worlds?

    Examples (using majestic million csv):


  • pl0c

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

    Project mention: single pass compilers (basic questions) | reddit.com/r/Compilers | 2022-02-20

    Single-pass compiler tutorial

  • cmark

    💧 Elixir NIF for cmark (C), a parser library following the CommonMark spec, a compatible implementation of Markdown.

  • serd

    A lightweight C library for RDF syntax

    Project mention: Python Tools for the Semantic Web, an Overview | news.ycombinator.com | 2022-02-01

    https://github.com/drobilla/serd - lightweight C library for RDF syntax which supports reading and writing Turtle, TriG, NTriples, and NQuads. Serd is suitable for performance-critical or resource-limited applications, such as serialising very large data sets or embedded systems. Needs Python bindings, but drobilla has been busy with other things.

  • stutter

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

    Project mention: Ask HN: What are some 'cool' but obscure data structures you know about? | news.ycombinator.com | 2022-07-21

    This. Roughly a year ago I got interested in efficient immutability for my write-from-scratch-in-C Lisp [0] and started to write a HAMT implementation in C [1], along with a (somewhat hacky, you have been warned) benchmarking suite [2].

    The docs are only 70% done (in particular the "putting it all together" part is missing) but it has been a really interesting and enlightening journey so far and can only recommend embarking on this path to everyone.

    [0]: https://github.com/mkirchner/stutter

  • sqlite-createtable-parser

    A parser for sqlite create table sql statements.

  • FastFEC

    An extremely fast FEC filing parser written in C

    Project mention: FastFEC: An fast FEC filing parser written in C | news.ycombinator.com | 2022-01-31
  • ravi-compiler

    Parser and compiler for Ravi and Lua

  • tree-sitter-tlaplus

    A tree-sitter grammar for TLA⁺ and PlusCal

    Project mention: Writing a TLA⁺ tree-sitter grammar: my foray into free software | news.ycombinator.com | 2023-01-12

    Not an emacs person myself (yet!) - Carl Thuringer created tla-mode that apparently uses the grammar: https://github.com/carlthuringer/tla-mode

    Haven't tested it out myself. Happy to take any PRs if emacs needs its own set of query files; they would live in https://github.com/tlaplus-community/tree-sitter-tlaplus/tre... and they can be added to CI runs to ensure they stay in sync with changes to the parser.

  • cparse

    cparse is an LR(1) and LALR(1) parser generator (by jafarlihi)

    Project mention: GitHub - jafarlihi/cparse: cparse is an LR(1) and LALR(1) parser generator for C | reddit.com/r/Compilers | 2022-12-27
  • PeppaPEG

    PEG Parser in ANSI C

  • tree-sitter-embedded-template

    Tree-sitter grammar for embedded template languages like ERB, EJS

    Project mention: How to embed EJS parser in the tree-sitter? | reddit.com/r/lunarvim | 2022-03-06
  • SaaSHub

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

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). The latest post mention was on 2023-01-20.

C Parser related posts


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

Project Stars
1 inih 1,906
2 parson 1,165
3 md4c 553
4 mini-c 454
5 link-grammar 356
6 lwesp 352
7 jsonlite 339
8 tiny-json 233
9 tree-sitter-markdown 230
10 packcc 224
11 libconfini 113
12 zsv 105
13 pl0c 99
14 cmark 91
15 serd 68
16 stutter 66
17 sqlite-createtable-parser 64
18 FastFEC 58
19 ravi-compiler 58
20 tree-sitter-tlaplus 42
21 cparse 39
22 PeppaPEG 37
23 tree-sitter-embedded-template 33
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives