Cdecl-dump
represent C declarations visually
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
A small tool that parses C declarations and outputs a simple visual representation at each stage, as it encounters arrays, pointers or functions.The program uses a table-driven lexer and a hand-written, shift-reduce parser. No external dependencies apart from the standard library.
HN · launched Dec 8, 2025 · 35 upvotes (top 25%) · 0 views
Niche: codebase visualization tools · 90 launches, 4 in the last 7 days ▼ -50% · Explore this niche →
Category and tags
- Horizontal
- Dev tools
- Developer
- Not AI
- Hobby / open-source project
Visit website ↗ Source listing ↗
More like this: all 90 launches in codebase visualization tools →
Could you build this?
Yes Parsing C variable and function declarations using a simple lexer/parser and generating a syntax tree visualization is a classic computer science problem readily solved with standard algorithms and LLM code generation.
Discussion
13 comments analyzed.
Competitors mentioned: tree-sitter (C parser), Rizin (reverse engineering framework)
Concerns raised: Why require asterisk in every variable/member declaration?, Unclear visualization/documentation in README, Missing license for code
Feature requests: Add license documentation, Clarify visualization explanation in README
Competitors
Other products that read as similar to this one : 114 launches clear the similarity bar, closest 8 shown.
Attention rank: #35 of 115 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 26 days after the earliest competitor.
- graphicle · github · 2026-10-14 · 283 upvotes · similarity 0.40
- C-Continuous-Calculators · github · 2026-09-11 · 9 upvotes · similarity 0.40
- Cicada · hn · 2026-01-30 · 57 upvotes · similarity 0.40
- Transit-format (JSON/MessagePack) reader/writer in C · hn · 2026-06-08 · 6 upvotes · similarity 0.40
- CCViewer · ph · 2026-10-20 · 1 upvotes · similarity 0.38
- data-visualizer · github · 2026-09-28 · 14 upvotes · similarity 0.38
- Ced · hn · 2026-05-07 · 5 upvotes · similarity 0.37
- Threadprocs · hn · 2026-03-23 · 64 upvotes · similarity 0.37
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.