Cpp2Rust는 C++ 코드를 안전한 Rust로 자동 번역하는 도구입니다.
Cpp2Rust는 clang AST를 기반으로 Haskell로 작성된 C++에서 Rust로의 안전한 코드 변환 도구입니다. C++ 파일을 파싱하여 AST를 생성한 후, 이를 통해 Rust 코드를 문자열로 생성하고 rustfmt로 포맷팅하여 .rs 파일을 출력합니다. 이 도구는 C++ 프로그래머들이 Rust로의 이주를 용이하게 할 수 있도록 돕습니다.
Cpp2Rust is a tool that automatically translates C++ code to safe Rust.
Cpp2Rust is a tool based on clang AST that automatically translates C++ code into safe Rust code. It parses C++ files to create an AST, then traverses this AST to generate Rust code as a string and formats it into a .rs file using rustfmt. This tool aims to facilitate the transition from C++ programming to Rust.