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