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