YEET transpiler for C and C++ file, written in Rust.
Transpile your C++ file into yeet code inspired by this reddit post.
Examples output is in the examples folder.
yeett
the command to transpile your c++ code to yeet.
However, you will required to use gcc to compile .cpp file into binary.
Example usage:
# Output as main.yeet.cpp
yeett main.cpp
gcc main.yeet.cpp -o main
./main
No package is published yet due to unstability of the projet.
You have to compile the binary from source (this repo).
- Rust 1.51 or more
- Git
- Using git clone, you can always have latest release.
git clone https://github.com/saltyAom/yeet-transpiler && cd yeet-transpiler
- Compile the source using Rust
cargo build --bin --release yeett
- Navigate to built folder
cd target/release
# In the folder there should have binary named `yeett`
./yeett
(For Linux and MacOS user) 4. We can install the binary to path and use it anywhere:
sudo cp yeett /usr/bin/yeett
yeet some_file.cpp
- Support only 1 file for now.
- Hardcoded string cannot contains the following:
;
(
)
{
}
,
&
<<
>>
<
>
::
:
\"
[
]
++
--
return
This project is made for pure meme intent and neither is stable nor having a long maintainance or long term support.
Please use this project at your own risk.