A portable Cish compiler designed with performance and interoperability in mind.
- Download the latest release
- Ensure you have GCC installed
- If you are using windows install these prebuilt binaries
- Copy and paste these examples into
capote.exe's working directory.- It is recommended that only the examples with the
.sfextension be run. The.txtfiles are just some standard library files.
- It is recommended that only the examples with the
- You need PROS if you intend to target vex.
Type the following
capote -s [sourceFile] -o [outputCFile]
where [sourceFile] is your superforth source file,
and [outputCFile] is your outputted c file.
Then type
gcc [outputCFile] -Ofast
./a
Type the following instead
capote -s [sourceFile] -o main.c -vex
The only difference is the added -vex flag. This will tell the compiler to generate PROS compatible C-code.
Then copy and paste main.c into the src directory of your PROS project.