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