tradcpp
« Back to VersTracker
Description:
K&R-style C preprocessor
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: c-preprocessor legacy development c-language unix
Install: brew install tradcpp
About:
Tradcpp is a classic, K&R-style C preprocessor implementation. It provides macro expansion, file inclusion, and conditional compilation, adhering to the original Unix conventions. This tool is valuable for maintaining legacy codebases or for projects requiring a minimal, standards-compliant preprocessing utility.
Key Features:
  • Adheres to K&R C preprocessing standards
  • Lightweight and minimal implementation
  • Handles macros, file inclusion, and conditionals
  • Suitable for legacy and embedded systems development
Use Cases:
  • Compiling legacy C code that relies on traditional preprocessor behavior
  • Embedded systems development requiring minimal toolchain dependencies
  • Educational purposes for understanding C preprocessing fundamentals
Alternatives:
  • cpp (GNU) – The GNU C Preprocessor is part of GCC and supports modern standards like C99/C11, whereas Tradcpp focuses on the older K&R standard.
  • Clang Preprocessor – Part of the LLVM toolchain, offering fast processing and modern diagnostics, but is a much larger dependency than Tradcpp.
Version History
Detected Version Rev Change Commit
Sep 11, 2025 2:29am 0 VERSION_BUMP 5bb7a15a