When testing your form parsers bear in mind that the LispWorks editor has an implicit form parser, independent of explicit parsers defined in the dspec system. It tries to parse a dspec from a top level form which is of length 2 or more and whose car has symbol name beginning with
"DEF"
. That is:
(defxyz
name
forms
)
(defxyz
name
)
which may be a dspec (and thus provides a match for the source location commands). This mechanism operates only when there's no explicit parser defined for
defxyz
.
The editor's implicit form parser is useful because it matches a common simple case. However it does not work for the
parameterdef
example, because that definer's symbol name does not begin with
"DEF"
.