cparser

C99 parser and frontend for libfirm (by libfirm)

Cparser Alternatives

Similar projects and alternatives to cparser based on common topics and language

  • libfirm

    graph based intermediate representation and backend for optimising compilers

  • Cloak

    A mini-preprocessor library to demostrate the recursive capabilites of the preprocessor (by pfultz2)

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • xcc

    Toy C compiler for x86-64/aarch64/riscv64/wasm

  • tinycc

    My working copy of tinycc made reentrant (by mingodad)

  • jstar

    A lightweight embeddable scripting language

  • BCause

    BCause (pronounced "because") is a compiler for the old B programming language (1969) for modern systems.

  • nymph

    🧚 A slightly different version of C.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better cparser alternative or higher similarity.

cparser reviews and mentions

Posts with mentions or reviews of cparser. We have used some of these posts to build our list of alternatives and similar projects.
  • Compiling History: A brief tour of C compilers
    1 project | news.ycombinator.com | 14 Feb 2024
    > QBE is a new optimizing backend much simpler than LLVM; cproc and cparser are two of the C compilers that target it, in addition to its own minic.

    I thought cparser targeted libFirm. That's what their GitHub page says [0].

    "It acts as a frontend to the libFirm intermediate representation library."

    > We really need a production quality open source C compiler that is actually written in C.

    I honestly think cproc or cparser are almost there already. For cproc, you just need to improve the quality of code optimization; it's really QBE you'd need to change. For example, you could change unnecessary multiplications by powers of 2 into left shifts, improve instruction selection so that subtraction is always something like "sub rax, rdi" and not "neg rdi / add rax, rdi" [1]).

    For cparser, I notice slightly higher quality codegen; libFirm just needs more architecture support (e.g. AMD64 support appears to work for me, but it's labeled as experimental).

    [0]: https://github.com/libfirm/cparser

    [1]: I'm pretty sure this is the line of code that generates it, too: https://c9x.me/git/qbe.git/tree/amd64/emit.c#n418

  • Cparser – A C99 parser (with GNU extensions) (2020)
    1 project | news.ycombinator.com | 15 Aug 2023

Stats

Basic cparser repo stats
2
318
4.6
6 months ago

libfirm/cparser is an open source project licensed under GNU General Public License v3.0 only which is an OSI approved license.

The primary programming language of cparser is C.


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