lispdoc - results for compile

(compile name &optional
 (definition (or (macro-function name) (fdefinition name))))
Function: Coerce DEFINITION (by default, the function whose name is NAME) to a compiled function, returning (VALUES THING WARNINGS-P FAILURE-P), where if NAME is NIL, THING is the result of compilation, and otherwise THING is NAME. When NAME is not NIL, the compiled function is also set into (MACRO-FUNCTION NAME) if NAME names a macro, or into (FDEFINITION NAME) otherwise.
Example:
(defun create-make-foo (dd)
  (declare (optimize speed))
  (funcall
   (compile nil
            `(lambda ,nil
               ,@(sbcl-struct-defs dd))))
  (find-class (dd-name dd)))
Mentioned in:
CLtL2 - 22.1.4. Standard Dispatching Macro Character Syntax
CLtL2 - 25.1. The Compiler
CLtL2 - 25.1.1. Compiler Diagnostics
CLtL2 - 25.1.2. Compiled Functions
CLtL2 - 25.1.3. Compilation Environment
CLtL2 - 25.3. Debugging Tools
CLtL2 - 5.3. Top-Level Forms
CLtL2 - 5.3.3. Control of Time of Evaluation
CLtL2 - 6.2.2. Specific Data Type Predicates
CLtL2 - 6.3. Equality Predicates
CLtL2 - 7.1. Reference
HyperSpec - Function COMPILE
On Lisp - Chapter _28
PCL - other special operators
Successful Lisp - chapter28
(compile-file input-file &key
 (output-file (cfp-output-file-default input-file))
 ((verbose *compile-verbose*) *compile-verbose*)
 ((print *compile-print*) *compile-print*) (external-format default)
 (trace-file nil) ((block-compile *block-compile-arg*) nil)
 (emit-cfasl *emit-cfasl*))
Function: Compile INPUT-FILE, producing a corresponding fasl file and returning its filename. :PRINT If true, a message per non-macroexpanded top level form is printed to *STANDARD-OUTPUT*. Top level forms that whose subforms are processed as top level forms (eg. EVAL-WHEN, MACROLET, PROGN) receive no such message, but their subforms do. As an extension to ANSI, if :PRINT is :top-level-forms, a message per top level form after macroexpansion is printed to *STANDARD-OUTPUT*. For example, compiling an IN-PACKAGE form will result in a message about a top level SETQ in addition to the message about the IN-PACKAGE form' itself. Both forms of reporting obey the SB-EXT:*COMPILER-PRINT-VARIABLE-ALIST*. :BLOCK-COMPILE Though COMPILE-FILE accepts an additional :BLOCK-COMPILE argument, it is not currently supported. (non-standard) :TRACE-FILE If given, internal data structures are dumped to the specified file, or if a value of T is given, to a file of *.trace type derived from the input file name. (non-standard) :EMIT-CFASL (Experimental). If true, outputs the toplevel compile-time effects of this file into a separate .cfasl file.
Example:
(defun compile-paip-file (name)
  (let ((path (paip-pathname name :lisp)))
    (load path)
    (compile-file path :output-file
                  (paip-pathname name :binary))))
Mentioned in:
CLtL2 - 11.7. Package System Functions and Variables
CLtL2 - 23.1.5.3. Using Logical Pathnames
CLtL2 - 23.1.5.5. Discussion of Logical Pathnames
CLtL2 - 23.4. Loading Files
CLtL2 - 25.1. The Compiler
CLtL2 - 25.1.1. Compiler Diagnostics
CLtL2 - 25.1.2. Compiled Functions
CLtL2 - 25.1.3. Compilation Environment
CLtL2 - 25.1.4. Similarity of Constants
CLtL2 - 5.3.3. Control of Time of Evaluation
CLtL2 - 6.3. Equality Predicates
CLtL2 - 7.1. Reference
CLtL2 - 8.4. Compiler Macros
HyperSpec - Function COMPILE-FILE
PCL - defining your own packages
PCL - delivering applications
PCL - eval when
PCL - foo special operators
PCL - macros
PCL - other special operators
PCL - package gotchas
PCL - packaging mechanics
PCL - saving your work
PCL - where to go next
Successful Lisp - chapter28
Successful Lisp - chapter31
asdf:compile-op
Undocumented
  
*compile-print*
Variable: The default for the :PRINT argument to COMPILE-FILE.
Example:
(defun create-make-foo (dd)
  (let ((*compile-print* nil))
    (funcall
     (compile nil
              `(lambda ,nil
                 ,@(cmu-struct-defs dd))))
    (find-class (dd-name dd))))
Mentioned in:
CLtL2 - 25.1. The Compiler
HyperSpec - Variable *COMPILE-PRINT*, *COMPILE-VERBOSE
*compile-verbose
 
 Mentioned in:
HyperSpec - Variable *COMPILE-PRINT*, *COMPILE-VERBOSE
*compile-verbose*
Variable: The default for the :VERBOSE argument to COMPILE-FILE.
 Mentioned in:
CLtL2 - 25.1. The Compiler
(asdf:compile-file* input-file &rest keys &key output-file &allow-other-keys)
Undocumented
  
asdf:compile-error
Undocumented
  
(asdf:compile-system system &rest args &key force verbose version
 &allow-other-keys)
Function: Shorthand for `(operate 'asdf:compile-op system)`. See OPERATE for details.
  
asdf:compile-failed
Undocumented
  
asdf:compile-warned
Undocumented
  
(compile-file-pathname input-file &key (output-file nil output-file-p)
 &allow-other-keys)
Function: Return a pathname describing what file COMPILE-FILE would write to given these arguments.
 Mentioned in:
CLtL2 - 23.1.5.3. Using Logical Pathnames
CLtL2 - 23.1.5.5. Discussion of Logical Pathnames
HyperSpec - Function COMPILE-FILE-PATHNAME
*compile-file-truename
 
 Mentioned in:
HyperSpec - Variable *COMPILE-FILE-PATHNAME*, *COMPILE-FILE-TRUENAME
*compile-file-pathname*
Variable: The defaulted pathname of the file currently being compiled, or NIL if not compiling.
 Mentioned in:
CLtL2 - 25.1. The Compiler
HyperSpec - Variable *COMPILE-FILE-PATHNAME*, *COMPILE-FILE-TRUENAME
*compile-file-truename*
Variable: The TRUENAME of the file currently being compiled, or NIL if not compiling.
 Mentioned in:
CLtL2 - 25.1. The Compiler
(asdf:compile-file-pathname* input-file &rest keys &key output-file
 &allow-other-keys)
Undocumented
  
asdf:*compile-file-failure-behaviour*
Variable: How should ASDF react if it encounters a failure (per the ANSI spec of COMPILE-FILE) when compiling a file? Valid values are :error, :warn, and :ignore. Note that ASDF ALWAYS raises an error if it fails to create an output file when compiling.
  
asdf:*compile-file-warnings-behaviour*
Variable: How should ASDF react if it encounters a warning when compiling a file? Valid values are :error, :warn, and :ignore.