BCX is called "The BASIC To C Translator". This means that BASIC code is converted to C. After that the resulting C code is compiled with the devKitPro toolchain with all the libraries like a normal Wiibrew application. Read more about BCX-BASIC v1.0 (Wii misc)