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