Skip to content

sipma/tenjin

 
 

Repository files navigation

Tenjin

A tool for translating C to Rust, building upon c2rust.

Status: incomplete; in active development.

Installation

First, install Rust. On Linux, you'll also need either curl or wget. On Mac, we assume you already have Xcode tools installed, plus brew. Then:

  1. Run cli/10j provision

    This will locally install compatible copies of the necessary prerequisites: LLVM/Clang, OCaml (for CodeHawk), make, ninja, unzip, etc. On Linux, it will also download a Debian sysroot to enable compilation using standard system libraries.

  2. Add the cli directory to your $PATH to make using Tenjin easier.

  3. Run 10j check-py to verify that the Python code in the repository does not need to be reformatted.

Next Steps

Acknowledgements

Development of Tenjin is being supported by the Defense Advanced Research Projects Agency (DARPA) under Agreement No. HR00112590129.

About

A tool suite for translating C to safe Rust (early days!)

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Rust 61.3%
  • Python 13.8%
  • C++ 12.4%
  • HTML 5.8%
  • C 5.4%
  • Shell 0.6%
  • Other 0.7%