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