A rush transpiler which generates ANSI C code without the need for external dependencies.
- Prerequisite: A file ending in
.rushwhich contains the program. - Execute the following command in order to run the program.
cargo run your-file.rush- Execute the following command in order to compile and then run the emitted
Cfile - The
-std=c89flag is completely optional but shows that the transpiler indeed generatesANSI C.
gcc output.c -std=c89 -o out && ./out