Skip to content

wangleihd/c2r

Repository files navigation

c2r README

This is the README for the "C2R - C/C++ to Rust Transpiler" VS Code extension.

Features

This extension provides a seamless transpilation functionality from C/C++ code to Rust. It simplifies the conversion process and helps developers bridge the gap between these two languages.

Recent Updates

  • Partial Directory Update: Dynamically update specific parts of the directory structure in the WebView using postMessage without refreshing the entire UI.
  • Enhanced UI and Server Communication: Improved interaction between the extension's frontend and backend for a more responsive experience.

Requirements

This extension requires Node.js and TypeScript to be installed on your system.

Extension Settings

This extension contributes the following settings:

  • c2r.transpilerOptions: Customize the transpilation process by specifying various options.

Known Issues

  • Currently, the transpilation process might not handle complex C/C++ code structures perfectly.

Release Notes

1.0.5

  • update icon.png file.

1.0.4

  • Implemented partial directory structure update in WebView using postMessage.
  • Improved server communication for better performance and reliability.

1.0.1

  • Minor bug fixes and performance improvements.

Working with Markdown

You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts:

  • Split the editor (Cmd+\ on macOS or Ctrl+\ on Windows and Linux).
  • Toggle preview (Shift+Cmd+V on macOS or Shift+Ctrl+V on Windows and Linux).
  • Press Ctrl+Space (Windows, Linux, macOS) to see a list of Markdown snippets.

For more information

Enjoy!

About

This is a VSCode plug for C/C++ to Rust.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors