3 ms·
It would be really cool to see snippets or even the whole original and transpiled code side-by-side. When I was working on compilers I spent as much time makin
by willvarfar 7y ago
It would be really cool to see snippets or even the whole original and transpiled code side-by-side.
When I was working on compilers I spent as much time making such a script in a web-browser with scrolling etc as I did studying the results.
- saldivarcher 7y agohttps://c2rust.com https://c2rust.com will show you side by side comparisons, although it isn't the best looking code; in terms of readability. But as mentioned in other threads, the refactoring tool (https://github.com/immunant/c2rust/tree/master/c2rust-refactor https://github.com/immunant/c2rust/tree/master/c2rust-refact...) aims to fix that.
- ahomescu1 7y agoWe added the transpiled code in a new branch at https://github.com/immunant/ioq3/tree/transpiled/quake3-rs https://github.com/immunant/ioq3/tree/transpiled/quake3-rs and also a more cleaned up refactored code base at https://github.com/immunant/ioq3/tree/refactored/quake3-rs https://github.com/immunant/ioq3/tree/refactored/quake3-rs