Version: 4.2.2

mzc: PLT Compilation and Packaging

The mzc tool supports various PLT Scheme compilation and packaging tasks.

    1 Running mzc

    2 Compiling Modified Modules to Bytecode

      2.1 Bytecode Files

      2.2 Dependency Files

      2.3 Scheme Compilation Manager API

      2.4 Compilation Manager Hook for Syntax Transformers

    3 Creating and Distributing Stand-Alone Executables

      3.1 Stand-Alone Executables from Scheme Code

        3.1.1 Scheme API for Creating Executables

          3.1.1.1 Executable Creation Signature

          3.1.1.2 Executable Creation Unit

      3.2 Distributing Stand-Alone Executables

        3.2.1 Scheme API for Distributing Executables

        3.2.2 Scheme API for Bundling Distributions

      3.3 Installation-Specific Launchers for Scheme Code

        3.3.1 Creating Launchers

        3.3.2 Launcher Path and Platform Conventions

        3.3.3 Launcher Configuration

        3.3.4 Launcher Creation Signature

        3.3.5 Launcher Creation Unit

    4 Packaging Library Collections

      4.1 Scheme API for Packaging

    5 Compiling and Linking C Extensions

      5.1 Scheme API for 3m Transformation

    6 Embedding Scheme Modules via C

    7 Decompiling Bytecode

      7.1 Scheme API for Decompiling

      7.2 Scheme API for Parsing Bytecode

        7.2.1 Prefix

        7.2.2 Forms

        7.2.3 Expressions

        7.2.4 Syntax Objects

      7.3 Scheme API for Marshaling Bytecode

    8 Compiling to Raw Bytecode

    9 Compiling to Native Code via C

    10 Scheme API for Compilation

      10.1 Bytecode Compilation

      10.2 Compilation via C

      10.3 Loading compiler support

      10.4 Options for the Compiler

      10.5 The Compiler as a Unit

        10.5.1 Signatures

        10.5.2 Main Compiler Unit

        10.5.3 Options Unit

        10.5.4 Compiler Inner Unit

    Index