dpp
« Back to VersTracker
Description:
Directly include C headers in D source code
Type: Formula  |  Latest Version: 0.6.0@1  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: dlang c binding interoperability header-parser developer-tools
Install: brew install dpp
About:
dpp is a command-line tool that enables seamless interoperability between D and C by translating C header files into D modules. It allows developers to directly include C headers in D source code, automatically generating the necessary D bindings at compile time. This eliminates the manual effort of writing and maintaining C bindings for D projects.
Key Features:
  • Automatic translation of C headers to D modules
  • Direct inclusion of C headers in D source code
  • Support for complex C constructs and macros
  • Compile-time integration for seamless workflow
  • Command-line tool for easy integration
Use Cases:
  • Using existing C libraries in D projects without manual binding
  • Creating D bindings for C APIs automatically
  • Interfacing with system libraries written in C
  • Migrating C projects to D incrementally
Alternatives:
  • bindbc – Manual binding generation vs dpp's automatic header translation
  • dstep – Similar header conversion but with different feature sets and approaches
License: BSL-1.0
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, sonoma, ventura, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Sep 15, 2025 4:11pm 1 VERSION_BUMP d4a79ef7
Sep 12, 2024 1:13pm 0 VERSION_BUMP f8ceb042