Crates.io | rcc4r |
lib.rs | rcc4r |
version | 0.1.0 |
source | src |
created_at | 2020-08-16 07:10:40.857466 |
updated_at | 2020-08-16 07:10:40.857466 |
description | C compiler implemented in Rust with only 4 raw-functions |
homepage | |
repository | |
max_upload_size | |
id | 277156 |
size | 54,115 |
RCC4r is a Rust impl. of toy C Compiler with only 4 Raw functions.
Rumble Rumble ๐คฃ๐คฃ Put the pedal to the metal ๐๐๐ Sick move ๐๐๐ Start the engine ๐๐๐ Start the engine +๐+๐+๐
Let LLVM ๐จ๐จ optimize the code for me ๐ฉ๐ฆฒ๐ง I am ๐๐ the best ๐ developer literally ๐ค๐ค Make ๐ฏ people who saw thought it's a dream ๐ฑ๐ฑ Haven't woke up ๐ด๐ด Programs already complete ๐ป๐ป Rust ๐จ๐จ checks memor) safety for me ๐ฒ๐ฒ I am the most ๐ค๐ค efficient engineer literally ๐ต๐ต Make ๐จ๐จ people who saw want to believe ๐ญ๐ญ 0โฃ to ๐ฏK only 4โฃ functions๐๐
Mutable Unmutable ๐ฅ๐ฅ could choose only one๐ถโ๐ถโ Quick compile slow compile ๐๐ Fast and safe no matter what ๐ช๐ช It's not ๐๐ like writting C ๐๐ Don't afraid it'll crash ๐ฒ๐ฒ Just scare rustc ๐ฎโ๐ฎโ *Beep Beep Beep* doesn't let me pass ๐ฉ๐ฉ *Beep Beep Beep Beep Beep* Override nightly ๐๐ *Beep Beep Beep Beep Beep* Fearless concurrency ๐๐ *Beep Beep Beep Beep Beep* Unsafe secretly ๐คซ๐คซ *Beep Beep Beep Beep Beep* Unwrap everything ๐คช๐คช
This is an attempt to present a minimum C compiler in Rust. While my original intention is to make it completely safe but I just don't really have that much time for now. So here's the one which manipulates pointers like good old fashion way. Maybe one day I will manage to refactor it.
RCC4r is based on reference of C4