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