C Parser

Open-source C projects categorized as Parser | Edit details
Related topics: #C #Lexer #Markdown #Ini #Commonmark

Top 14 C Parser Projects

  • inih

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

    Project mention: How to set the max characters in fscanf to be a variable or macro? | reddit.com/r/C_Programming | 2021-08-22

    One simple format is INI, which has the benefit of being simple and ubiquitous. It has rules for quoting and whitespace. It's human readable and human editable. ini.h is a very simple INI parser library, but there are loads of them.

  • parson

    Lightweight JSON library written in C.

    Project mention: [C] How can I parse JSON using C? I want to write my own solution and need guidance. | reddit.com/r/learnprogramming | 2021-08-28
  • 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.

  • md4c

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

    Project mention: Markdown CLI parser (written in C++) | reddit.com/r/opensource | 2021-02-08

    However, the objective of this project (among others) is to be simple. Call me crazy but [6348](https://github.com/mity/md4c/blob/master/src/md4c.c#L6348) lines of code in C is not my definition of "simple" and "suckless" xD.

  • cmark

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

    Project mention: Using Rust with Elixir for code reuse and performance | news.ycombinator.com | 2021-08-19

    I wonder if they looked into using https://github.com/asaaki/cmark.ex which is an already made Markdown Elixir NIF written in C. No glue code needed since the package already exists.

    Back when I was writing Elixir, it's what I used to process Markdown and it was also substantially faster than the native Elixir Markdown library (Earmark).

  • pl0c

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

    Project mention: Let's write a compiler, part 3: A parser | news.ycombinator.com | 2021-08-16

    I don’t think there will be an AST. https://briancallahan.net/blog/20210814.html: “We will be writing a single-pass compiler for a simple language and immediately output our final output code as soon as our compiler has enough information to do so”

    That “as soon as” implies code will be generated before the entire program has been parsed.

    Also, for me single-pass implies “no AST”, as you would need at least one pass to construct one, and iterating over an AST counts as another pass for me.

  • libconfini

    Yet another INI parser

  • sqlite-createtable-parser

    A parser for sqlite create table sql statements.

    Project mention: A Parser for SQLite Create Table Statements | news.ycombinator.com | 2021-01-28
  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • ravi-compiler

    Parser and compiler for Ravi and Lua

    Project mention: Working on a Lua to machine-code compiler | reddit.com/r/Compilers | 2021-12-16

    hi, you may find my project https://github.com/dibyendumajumdar/ravi-compiler to be of interest

  • pega-texto

    Single-file Parsing Expression Grammars (PEG) runtime engine for C

    Project mention: Header only Parsing Expression Grammars (PEG) runtime engine for C | reddit.com/r/Compilers | 2021-02-18
  • calculator-c-parser

    A simple implementation of a parser and its use to calculate simple mathematical expressions

    Project mention: Show HN: Simple Calculator Parser in C | news.ycombinator.com | 2021-02-14
  • KAI

    KAI is a distributed computing model written in modern C++ and is cross-plaftorm. Using custom language translators and an executor, KAI provides full reflection, persistence and cross-process communications without having to modify existing source code. KAI Comes with an automated, generational tricolor garbage collector, and Console- and Window-based interfaces.

    Project mention: Will C++ ever be as safe as Rust? Does The Standard even care? | reddit.com/r/programming | 2021-10-11

    All I'll add is that clever code is not necessarily good code. For instance, I wrote this and I doubt anyone in my team, or many people in general, could maintain or majorly refactor it.

  • pg_cjk_parser

    Postgres CJK Parser pg_cjk_parser is a fts (full text search) parser derived from the default parser in PostgreSQL 11. When a postgres database uses utf-8 encoding, this parser supports all the features of the default parser while splitting CJK (Chinese, Japanese, Korean) characters into 2-gram tokens. If the database's encoding is not utf-8, the parser behaves just like the default parser.

    Project mention: Postgres Full-Text Search: A Search Engine in a Database | news.ycombinator.com | 2021-07-27
  • parser-test

    Kind of parser but beginner level. Written in ansi-c (FINISHED)

    Project mention: Making a parser with ansi-c (FINISHED) | reddit.com/r/Compilers | 2022-01-20

    I made a parser in ansi-c and I added programming language features to parser. Project still has bugs but I finished my purpose so I finished the project. But if you see an issue or error please comment this post or leave an issue in Github - Issues.

  • cmdcalc

    A simple command line calculator

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 2022-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,623
2 parson 1,068
3 md4c 422
4 cmark 88
5 pl0c 84
6 libconfini 65
7 sqlite-createtable-parser 60
8 ravi-compiler 45
9 pega-texto 16
10 calculator-c-parser 14
11 KAI 12
12 pg_cjk_parser 4
13 parser-test 3
14 cmdcalc 1
Find remote jobs at our new job board 99remotejobs.com. There are 30 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
OPS - Build and Run Open Source Unikernels
Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.