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