Slate, a C to Rust Transpiler for multiple targets
github.com/takashiidobe/slate- Category
- Developer Tools
- Rank
- No. 2037Tools index
- Pricing
- Open Source
- Type
- TOOL
- GitHub
- 5 stars
- Latest release
- v0.10.0
- Date
About
Slate translates C code (C89 through C2y, including common compiler extensions) into Rust using its own C parser, which can emulate gcc, clang or msvc behavior. It then runs rewrite passes to produce more idiomatic Rust, and supports multi-target and feature-based project builds. The author reports translating zlib, SQLite and CPython this way.
Similar tools
x2cgithub.comSuperset of C that compiles to C and adds collections, pattern matching and compile-time macros.ScarScriptgithub.comStatically typed language with Express-like syntax that compiles to Go and native binaries.Go++github.comA Go superset adding classes, exceptions and enums that compiles to ordinary Go code.Autarkautark.devC/C++ build system shipped inside one shell script that compiles itself with only a C99 compiler.
Browse all tools →Tags
crusttranspilercompilerclimigration
Tech Stack
Rust
Media
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.