Types of Compiler Cross Compilers. They produce an executable machine code for a platform but, this platform is not the one on which the compiler is running. Bootstrap Compilers. These compilers are written in a programming language that they have to compile. Source to source/transcompiler. ... Decompiler.