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