Node:Archive compilation, Next:, Previous:Compiling, Up:Compiling



Compiling Scheme to an archive file

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.