Expand description
CCARP - (trans)Compile C And Rust Partially
CCARP is a partial transpiler which can translate some C programs into Rust.
Public Interface:
translate
- this function translates an entire C project into Rust, however it does so in memorytranslate_single_file
- this function translates a singular C file into Rust and writes the results to disktranslate_project
- this function translates an entire C project and writes the results to disk
Structs§
- Compiler
Flags - Represents a set of compiler flags
Enums§
- CCErr
- Transpiler error
Functions§
- translate
- Translate a C codebase (which is in memory) into a Rust codebase
- translate_
project - Translate an entire C project into Rust
- translate_
single_ file - Translate a single C file into Rust
Type Aliases§
- Project
Result - A type which represents the result of an entire project’s translation
- Result
- A type which represents the result of a single file’s translation