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