Latest / Learning & reference

cdecl-dump

github.com · Open source · Maintained

Visual breakdown of C declarations, stage by stage

Visit github.com ↗Share

  • c declaration parser
  • read c declarations
  • cdecl tool
  • c pointer declaration
  • c syntax visualizer
Stars
63
Forks
3
Open issues
0
Last commit
Found
11 months ago

GitHub figures as of . They are context, not a ranking.

cdecl-dump parses C declarations and prints a visual representation at each stage as it handles arrays, pointers and functions. It uses a table-driven lexer and a hand-written shift-reduce parser, with no dependencies beyond the standard library. It suits C programmers and students who find declarations hard to read.

Repository description on GitHub: “Dump complex C declarations visually.”

What it does

  • Prints a visual breakdown of a C declaration at each parsing stage
  • Handles arrays, pointers and functions
  • Table-driven lexer and hand-written shift-reduce parser
  • No dependencies beyond the standard library

Good for

  • Decode a tricky C declaration such as a function pointer array
  • Teach how C declarators are parsed step by step

Suits: C programmers and students who find declarations hard to read.

Worth knowing: Only built-in types are supported, so types such as size_t are rejected.

What you can try

Read the README on GitHub and install from source.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw cdecl-dump on , when bluetomcat posted it to Show HN. GitHub listed no published releases for bbu/cdecl-dump when checked , so the project may ship straight from its main branch. The repository was created .

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 35 points, 13 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 35 points, 13 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: bbu/cdecl-dump
  2. Found: bluetomcat posted it to Show HN. Show HN
  3. Day-7 check recorded by Kip (details)
  4. Day-30 check recorded by Kip (details)

Quick answers

When was cdecl-dump released?
No dated release record is available. Kip found it on Show HN on 8 Dec 2025.
Is cdecl-dump open source?
Its source is public on GitHub at bbu/cdecl-dump under the MIT licence.
What does cdecl-dump run on?
Command line.
Is cdecl-dump free?
It is open source, so the code is free to read and run; check the licence for terms.
Is cdecl-dump still maintained?
It had a commit or release in the last year, though not in the last 90 days, as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositorybbu/cdecl-dump
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-46186917. Summary written by KipFound’s editor.

Share

Similar tools

More in Learning & reference

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.