Expand description
Core transpilation pipeline for C-to-Rust conversion.
This crate orchestrates the entire transpilation process:
- Parse C code (via decy-parser)
- Convert to HIR (via decy-hir)
- Analyze and infer types (via decy-analyzer)
- Infer ownership and lifetimes (via decy-ownership)
- Verify safety properties (via decy-verify)
- Generate Rust code (via decy-codegen)
Structs§
- Cache
Statistics - Statistics for transpilation cache performance.
- Dependency
Graph - Dependency graph for tracking file dependencies and computing build order.
- Project
Context - Context for tracking cross-file information during transpilation.
- Transpilation
Cache - Transpilation cache for avoiding re-transpilation of unchanged files.
- Transpiled
File - Result of transpiling a single C file.
Functions§
- transpile
- Main transpilation pipeline entry point.
- transpile_
file - Transpile a single C file with project context.
- transpile_
with_ box_ transform - Transpile with Box transformation enabled.
- transpile_
with_ includes - Transpile C code with include directive support and custom base directory.