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