drscheme:language:create-module-based-stand-alone-executable in DrScheme Tools Functions
(drscheme:language:create-module-based-stand-alone-executable -> void?
program-filename executable-filename module-language-spec transformer-module-language-spec init-code gui? use-copy?)
program-filename : string?
executable-filename : string?
module-language-spec : any?
transformer-module-language-spec : any?
init-code : any?
gui? : boolean?
use-copy? : boolean?
This procedure creates a stand-alone executable in the file
executable-filename that runs the program
program-filename.
The arguments
module-language-spec and
transformer-module-language-spec specify the
settings of the initial namespace, both the transformer
portion and the regular portion.
The init-code argument is an s-expression representing
the code for a module. This module is expected to provide
the identifer init-code, bound to a procedure of no
arguments. That module is required and the init-code
procedure is executed to initialize language-specific
settings before the code in program-filename runs.
The gui? argument indicates if a MrEd or MzScheme
stand-alone executable is created.
The use-copy? argument indicates if the initial
namespace should be populated with
namespace-require/copy or
namespace-require.