, or list of parameters
s in the top level form, optionally ending with
The body of a parser function.
A parser function parser-function .
A dspec class or alias alias .
The parser function defined is named by
. If the
option is omitted then the name defaults to a symbol in the current package whose symbol name is the symbol name of
are given, then
is defined as a global function that is expected to return a dspec for the defining form or
if this is not possible. Within
is bound to the
of the actual form being parsed. In simple cases, this is just
, but if the form parser is used as in the
option of another form parser then the symbol will be bound to the
of that form instead.
are bound to subsequent subforms of the defining form. If
is supplied, then it is bound to a function of no arguments that returns two values: the next subform if there is one and a boolean to indicate if a subform was found.
are omitted, then
is expected to be a form parser defined by a different
form, or you can specify as an alias a definer with an existing form parser via the value
option is non-nil then
is not associated with the form parser. This is useful in conjunction with
for defining generic form parsers that can be used in other
LispWorks contains pre-defined form parser functions for the Common Lisp definers
and for LispWorks definers such as
When a defining symbol definer has an associated form parser, this parser function is used by the source location commands such as Expression > Find Source in the LispWorks IDE. Having identified the file where the definition was recorded, LispWorks parses the top level forms in the file looking for the one which matches the definition spec. When found, this match is displayed.
Define a new way to define CLOS methods, and tell the dspec system to treat them the same. Note the use of
to inform the dspec system that
is another way of naming