Node:Archive compilation, Next:Files compilation, Previous:Compiling, Up:Compiling
To byte-compile a file foo.scm
do:
(compile-file "foo.scm" "foo")
This will create foo.zip
, which contains byte-compiled "j-code"
that implements foo.scm
.
You can later do:
(load "foo")
This will load foo.zip
, which should have the same effect as
loading foo.scm
, except you will get the byte-compiled versions.