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