Common Lisp Package: BUILDAPP

README:

FUNCTION

Public

Undocumented

BUILD-BUILDAPP (&OPTIONAL (EXECUTABLE buildapp))

Private

ALL-ASDF-DIRECTORIES (ROOT)

Return a list of all ASDF files in the directory tree at ROOT.

ARGUMENT-KEYWORD (ARGUMENT)

Convert a command-line argument to a keyword symbol.

ASDF-DIRECTIVE-FILES (DIRECTIVE-LIST)

Convert a list of directives to a list of pathnames. No two pathnames in th eresult have the same pathname-name. A directive should be a list of a symbol and a pathname. The directive can be one of :MANIFEST-FILE, :ASDF-PATH, or :ASDF-TREE.

CALL-WITH-TEMPORARY-OPEN-FILE (TEMPLATE FUN &REST OPEN-ARGS &KEY ELEMENT-TYPE EXTERNAL-FORMAT)

Call FUN with two arguments: an open output stream and a file name. When it returns, the file is deleted. TEMPLATE should be a pathname that can be used as a basis for the temporary file's location.

COMMAND-LINE-DEBUGGER (CONDITION PREVIOUS-HOOK)

The function to call if there are errors in the command-line buildapp application.

DUMP-FILE-DEBUGGER (CONDITION PREVIOUS-HOOK)

The function to call if there are errors when loading the dump file.

DUMP-TO-FILE (DUMPER FILE)

Save the forms of DUMPER to FILE.

DUMPER-ACTION-FORMS (DUMPER)

Return a list of forms to implement DUMPER's actions, i.e. the --load, --load-system, --require, and --eval arguments.

DUMPFILE-FORMS (DUMPER)

Return a list of forms to be saved to a dumpfile.

FLATTEN (TREE)

Traverses the tree in order, collecting non-null leaves into a list.

LOAD-FILE (FILE)

Search for FILE in *LOAD-SEARCH-PATHS* and, if found, load it. If an exact filename is not found, file.lisp is also tried.

LOAD-SYSTEM (NAME)

Load ASDF system identified by NAME.

MAIN (ARGV)

Create an executable from the command-line arguments provided in ARGV. See *USAGE* for details.

MANIFEST-FILE-FILES (FILE)

Return a list of all system files contained in FILE. The syntax is one namestring per line. Relative namestrings are resolved relative to the truename of FILE.

RANDOM-STRING (LENGTH)

Return a random string with LENGTH characters.

REMOVE-DUMPER-METHODS

Remove any methods added to ASDF GFs as part of the dump process.

Undocumented

ASDF-PATH-FILES (PATHNAME)

ASDF-TREE-FILES (PATHNAME)

BUILDAPP-INIT

CHECK-PSEUDOSYMBOL (PACKAGE-NAME SYMBOL-NAME PRETTY-NAME)

COMMAND-LINE-DUMPER (ARGS)

COPY-FILE (INPUT OUTPUT &KEY (IF-EXISTS SUPERSEDE))

DEFAULT-ENTRY-P (DISPATCH-ENTRY)

DIRECTORIZE (NAMESTRING)

DISPATCHED-ENTRY-FORM (DISPATCHED-ENTRIES)

DUMP-FORM (NAME)

DUMPER-ACTION-FORM (DUMPER)

FILE-LINES (FILE)

INVOKE-DEBUGGER-HOOK-WRAPPER (FORM)

MAKE-DISPATCHED-ENTRY (STRING)

MAKE-PSEUDOSYMBOL (STRING)

PSEUDOSYMBOL-CHECK-FORM (PSEUDOSYMBOL)

SYSTEM-SEARCH-FUNCTION (NAME)

SYSTEM-SEARCH-TABLE (&REST PATHNAMES)

WRITE-DUMPFILE (DUMPER STREAM)

MACRO

Private

Undocumented

DUMPABLE (NAME &BODY BODY)

POPFLAG (FLAG ARGS)

WITH-TEMPFILE ((STREAM (TEMPLATE FILE) &REST OPEN-ARGS) &BODY BODY)

GENERIC-FUNCTION

Private

Undocumented

ARGUMENT-ERROR-DESCRIPTION (CONDITION)

SETFARGUMENT-ERROR-DESCRIPTION (NEW-VALUE CONDITION)

ARGUMENT-ERROR-EXTRA-INFO (CONDITION)

SETFARGUMENT-ERROR-EXTRA-INFO (NEW-VALUE CONDITION)

ARGUMENT-ERROR-FLAG (CONDITION)

SETFARGUMENT-ERROR-FLAG (NEW-VALUE CONDITION)

ASDF-SYSTEM-FILES (DUMPER)

ENTRY-FUNCTION-CHECK-FORM (DUMPER)

ENTRY-FUNCTION-FORM (DUMPER)

NEEDS-ASDF-P (DUMPER)

SLOT-ACCESSOR

Private

Undocumented

ACTIONS (OBJECT)

SETFACTIONS (NEW-VALUE OBJECT)

ASDF-DIRECTIVES (OBJECT)

SETFASDF-DIRECTIVES (NEW-VALUE OBJECT)

BINARY-NAME (OBJECT)

SETFBINARY-NAME (NEW-VALUE OBJECT)

COMPRESS-CORE (OBJECT)

SETFCOMPRESS-CORE (NEW-VALUE OBJECT)

CORE-ONLY (OBJECT)

SETFCORE-ONLY (NEW-VALUE OBJECT)

DISPATCHED-ENTRIES (OBJECT)

SETFDISPATCHED-ENTRIES (NEW-VALUE OBJECT)

DUMPFILE-COPY (OBJECT)

SETFDUMPFILE-COPY (NEW-VALUE OBJECT)

DYNAMIC-SPACE-SIZE (OBJECT)

SETFDYNAMIC-SPACE-SIZE (NEW-VALUE OBJECT)

ENTRY (OBJECT)

SETFENTRY (NEW-VALUE OBJECT)

LOAD-PATHS (OBJECT)

SETFLOAD-PATHS (NEW-VALUE OBJECT)

LOGFILE (OBJECT)

SETFLOGFILE (NEW-VALUE OBJECT)

OUTPUT (OBJECT)

SETFOUTPUT (NEW-VALUE OBJECT)

PACKAGE (OBJECT)

SETFPACKAGE (NEW-VALUE OBJECT)

PACKAGE-STRING (OBJECT)

SETFPACKAGE-STRING (NEW-VALUE OBJECT)

SBCL (OBJECT)

SETFSBCL (NEW-VALUE OBJECT)

SYMBOL-STRING (OBJECT)

SETFSYMBOL-STRING (NEW-VALUE OBJECT)

VARIABLE

Private

*OUTPUT-TYPE-PATHNAME*

This pathname is merged with the output parameter to produce the final output executable name. It's meant to automatically include the executable suffix .EXE on Windows.

Undocumented

*ALPHABET*

*DUMPABLE-FORMS*

*LOAD-SEARCH-PATHS*

*LOAD-SYSTEM*

*LOGFILE-OUTPUT*

*SHORT-USAGE*

*SYSTEM-LOAD-OUTPUT*

*TRAVERSAL-PARENT*

*TRAVERSAL-PARENTS*

*USAGE*

CLASS

Private

DISPATCHED-ENTRY

A dispatched entry is used to select an entry point depending on the name of the binary that invoked the application. If the binary name is empty, it is considered the default entry if no match is found.

Undocumented

DUMPER

PSEUDOSYMBOL

CONDITION

Private

Undocumented

COMMAND-LINE-ERROR

DUPLICATE-ARGUMENT

DUPLICATE-DEFAULT-DISPATCHED-ENTRY

ENTRY-AND-DISPATCHED-ENTRY

MALFORMED-DISPATCH-ENTRY

MISSING-OUTPUT-ARGUMENT

ODD-NUMBER-OF-ARGUMENTS

PROVIDED-ARGUMENT-ERROR

REQUIRED-ARGUMENT-MISSING

SILENT-EXIT-ERROR

UNKNOWN-ARGUMENT