DigitalMars/dmpp
View on GitHub ↗ ★ 13 D
C preprocessor
4 mentions on Hacker News by 2 people: 0 stories, 4 comments · first 2021-05-10 · latest 2025-11-06
20082026
-
https://github.com/DigitalMars/dmpp It's Boost licensed. Open sourced. No need for anyone else to struggle to implement a preprocessor.
comment by WalterBright · 2025-11-06 · in Recursive macros in C, demystified (once the ugly crying stops) -
…when I designed a program from the ground up to do unittests, i.e. the Warp C preprocessor program: https://github.com/DigitalMars/dmpp Once it was all put together, nearly all the bugs were misunderstandings on my part, rather than detail…
comment by WalterBright · 2023-03-12 · in Reflections on a Decade of Coding -
Less than 30 line changes to get it to compile with latest DMD. https://github.com/DigitalMars/dmpp/commit/a9b879983130cf3a3... Small price to pay for an elegant language.
comment by crazypython · 2021-05-10 · in Adding ANSI C11 C compiler to D so it can import and compile C files directly -
…it's unsurprising to have to update a few things after 7 years. My version of the repository is: https://github.com/DigitalMars/dmpp and compiles with DMD 2.067. I'll see about updating it later today. Stay tuned!
comment by WalterBright · 2021-05-10 · in Adding ANSI C11 C compiler to D so it can import and compile C files directly