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