cdecl

Composing and deciphering C (or C++) declarations or casts, aka ‘‘gibberish.’’ (by paul-j-lucas)

Cdecl Alternatives

Similar projects and alternatives to cdecl

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

cdecl reviews and mentions

Posts with mentions or reviews of cdecl. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-01.
  • Variadic Functions in C
    1 project | dev.to | 27 Apr 2024
    For example, in a program like cdecl, if you get:
  • Career Retrospective
    3 projects | dev.to | 1 Feb 2024
    In the mean time, I still enjoy hacking on various projects such as cdecl and writing my programming blog. Aside from computers, I enjoy gardening, cooking, and hope to do some travel.
  • Using assert() for Less Buggy Code
    1 project | dev.to | 28 Jan 2024
    In case you’re wondering, these code snippets are from cdecl.
  • Unions in C
    1 project | dev.to | 13 Jan 2024
    For a larger example, consider cdecl that is a program that can parse a C or C++ declaration (aka, “gibberish”) and explain it in English:
  • An Updated Cdecl — with Macro Expansion
    1 project | dev.to | 5 Jan 2024
    It’s been a while since I first started updating cdecl. From my previous article:
  • C/C++ Preprocessor Macros
    1 project | dev.to | 31 Dec 2023
    I decided to solve problem 6 myself by adding a feature to cdecl that allows you to #define macros as usual and then expand them where cdecl will print the expansion step-by-step as well as warn about things you might not expect. However, that’s a story for another time.
  • Musings on C & C++ Declarations
    1 project | dev.to | 27 Apr 2023
    Additionally, you can use cdecl both to decipher and compose declarations.
  • C++ New Style Casts in C (sort of)
    1 project | dev.to | 15 Oct 2022
    Suppose there’s an API you’re using that allows “user data” to be given. In C, this is usually done by passing your data to a void* parameter, for example when visiting the nodes of a red-black tree. Assume we have a tree where the data we store at each node is:
  • Bit Testing Functions in C
    1 project | dev.to | 25 Sep 2022
    There are many sites giving lots of bit twiddling expressions or functions in C, but none that I've found that give a concise set of bit testing functions, so here is a set I've written. (These are used as part of cdecl.)
  • The Curious Case of the Disappearing “if”
    1 project | dev.to | 20 Jun 2022
    I recently discovered a test-case that crashed cdecl:
  • A note from our sponsor - SaaSHub
    www.saashub.com | 1 May 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic cdecl repo stats
13
73
9.9
7 days ago

paul-j-lucas/cdecl 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 cdecl is C.


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