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