Compiling

The compiler is invoked from inside the compile module. This module exports the following bindings:

comp2scCompiler
\begin{arguments}
\item[module-name] A symbol
\end{arguments}
Compile a .em file into a .sc file, plus a .i file.

(setter optimize-code)Compiler
\begin{arguments}
\item[value] New value
\end{arguments}
If value is non-nil, then the peephole optimiser will be invoked at the end of compilations. This reduces code size by an average 10%, and also makes code execute a little faster. The optimiser handles most obvious optimisations, but does not attempt any cross procedure-call/branch optimisations.