/Capote

A portable SuperForth compiler designed with performance and interoperability in mind.

Primary LanguageC

Capote

A portable Cish compiler designed with performance and interoperability in mind.

TO INSTALL

TO RUN

On a PC

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

On Vex

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.