decy-stdlib 2.2.0

C standard library prototypes for the Decy C-to-Rust transpiler
Documentation
  • Coverage
  • 28.26%
    13 out of 46 items documented4 out of 13 items with examples
  • Size
  • Source code size: 460.22 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3.65 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 15s Average build duration of successful builds.
  • all releases: 13s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • paiml/decy
    14 1 6
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • noahgift

DECY Standard Library Support

RED PHASE: Built-in C standard library function prototypes

This crate provides ISO C99 §7 standard library function prototypes, enabling transpilation of C code that uses stdlib functions without requiring actual header files.

Pattern: EXTREME TDD - Test-First Development References: See docs/specifications/header-support-spec.md

Architecture

C Code → Prototype Injection → Parser → HIR → Rust
  ↓
#include <stdlib.h>
  ↓ (commented out by preprocessor)
Built-in prototypes injected
  ↓
malloc/free declarations available
  ↓
Parser succeeds!