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