Cdecl-dump
represent C declarations visually
Details
- External ID
- 46186917
- Source
- HN
- Company
- —
- Product
- Cdecl-dump
- Website domain
- github.com
- Launched
- Dec. 8, 2025
- Cohort
- —
- Upvotes
- 35
- Upvotes percentile
- 0.7519083969465649
- Tags
- —
- Fetched at
- Sept. 7, 2026, 9:25 p.m.
- Updated at
- Sept. 7, 2026, 9:25 p.m.
Description
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.
Enrichment
- Theme
- markdown editors and writing tools
- Vertical
- Horizontal
- Function
- Dev tools
- Audience
- Developer
- AI stance
- Not AI
- Project type
- Hobby / open-source project
- Normalized one-liner
- visual c declaration tool
- Manually corrected
- False
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 — 57 launches clear the similarity bar, closest 8 shown.
Attention rank: #19 of 58 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 26 days after the earliest competitor.
- Transit-format (JSON/MessagePack) reader/writer in C · hn · 2026-06-08 · 6 upvotes · similarity 0.39
- C-Continuous-Calculators · github · 2026-09-11 · 9 upvotes · similarity 0.39
- Cicada · hn · 2026-01-30 · 57 upvotes · similarity 0.39
- Ced · hn · 2026-05-07 · 5 upvotes · similarity 0.37
- Threadprocs · hn · 2026-03-23 · 64 upvotes · similarity 0.37
- C3 Playground · hn · 2026-09-24 · 7 upvotes · similarity 0.37
- I wrote a minimal memory allocator in C · hn · 2025-11-23 · 137 upvotes · similarity 0.36
- data-visualizer · github · 2026-09-28 · 14 upvotes · similarity 0.36
Other launches for this product
- No other launches for this product.
Same idea, different domain
Nobody's really built a dev tools tool for Sales yet.