Function: compile_file (<filename>)
Function: compile_file (<filename>, <compiled_filename>)
Function: compile_file (<filename>, <compiled_filename>, <lisp_filename>) Translates the Maxima file <filename> into Lisp, executes the Lisp compiler, and, if the translation and compilation succeed, loads the compiled code into Maxima.
compile_file returns a list of the names of four files: the original Maxima file, the Lisp translation, notes on translation, and the compiled code. If the compilation fails, the fourth item is
Some declarations and definitions take effect as soon as the Lisp code is compiled (without loading the compiled code). These include functions defined with the
:= operator, macros define with the
Assignments and function calls are not evaluated until the compiled code is loaded. In particular, within the Maxima file, assignments to the translation flags (
tr_numer, etc.) have no effect on the translation.
<filename> may not contain
compile_file evaluates its arguments.
(%o1) true (%i2)