A rush transpiler which generates ANSI C code without the need for external dependencies.
- Prerequisite: A file ending in
.rush
which 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
C
file - The
-std=c89
flag is completely optional but shows that the transpiler indeed generatesANSI C
.
gcc output.c -std=c89 -o out && ./out