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