cdecl-dump: Visual Command-Line Tool for Understanding Complex C Declarations
By
bluetomcat
A weekday bagel. Dependable, satisfying, no fuss.
Summary
cdecl-dump is a command-line tool that visually dumps and explains complex C declarations by breaking them down into understandable stages. The tool helps programmers understand C declarations by showing how each part of the declaration works, starting with the bare identifier and then adding operators like pointers, functions, and arrays in a visual format. It includes documentation on building, usage, and understanding the visual dumps.
Key quotes
· 4 pulledDump C declarations visually on the command line.
Each printed stage mirrors the eventual use of the declared variable – it is a sample sub-expression of the intended use.
We always start with the bare identifier because it is the lowermost expression one can use.
Pointers and functions are represented by a single box, arrays are represented by multiple boxes which are optionally truncated for counts larger than 8.
You might also wanna read
Researcher's "ADHD" tool for Claude Code claims 2x improvement; experts call for more evidence
Solo researcher Udit Akhouri released a third-party Agent SDK tool called "ADHD" for Claude Code on Reddit, claiming it helps coding agents
bit.ly·4h agoMicrosoft Foundry Skill: Reusable Guidance for Coding Agent Workflows
The Microsoft Foundry Skill is a meta-skill for coding agents that provides reusable guidance for Foundry agent workflows. It helps standard
Erlang Ecosystem Foundation Launches Central Company Registry
The Erlang Ecosystem Foundation has launched a new canonical company registry at registry.erlef.org. The registry aims to serve members, spo
aislop: Open-source CLI tool detects low-quality code patterns left by AI coding agents
aislop is an open-source CLI tool (MIT-licensed) that detects low-quality patterns left behind by AI coding agents like Claude Code, Cursor,
wterm: A DOM-based Web Terminal Emulator Powered by Zig and WebAssembly
wterm is a web-based terminal emulator that renders directly to the DOM, providing native text selection, copy/paste, find functionality, an
PromptLayer: AI observability tool for tracing multi-step workflows, costs, and failures
PromptLayer is an AI observability tool for developers that provides a unified timeline and waterfall view to trace AI requests, workflows,
