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