Previous: Predefined operations of ASDF, Up: Operations


7.1.2 Creating new operations

ASDF was designed to be extensible in an object-oriented fashion. To teach ASDF new tricks, a programmer can implement the behaviour he wants by creating a subclass of operation.

ASDF's pre-defined operations are in no way “privileged”, but it is requested that developers never use the asdf package for operations they develop themselves. The rationale for this rule is that we don't want to establish a “global asdf operation name registry”, but also want to avoid name clashes.

Your operation must usually provide methods for one or more of the following generic functions:

An operation may provide methods for the following generic functions:

Operations that print output should send that output to the standard CL stream *standard-output*, as the Lisp compiler and loader do.