Basic constructor macro for annotation structures.
(make-annotation [:name <name>])
This is the usual way to construct annotation structures. It simply conses together a structure with the specified fields.
This macro generates a new annotation structure from scratch. See also change-annotation, which can "change" an existing structure, instead.
This is an ordinary
Macro:
(defmacro make-annotation (&rest args) (std::make-aggregate 'annotation args '((:name)) 'make-annotation nil))
Function:
(defun annotation (name) (declare (xargs :guard (identifierp name))) (declare (xargs :guard t)) (let ((__function__ 'annotation)) (declare (ignorable __function__)) (b* ((name (mbe :logic (identifier-fix name) :exec name))) (list (cons 'name name)))))