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