Construct an XDOC tree for an HTML table
See the
Macro:
(defmacro table_ (&rest args) (mv-let (trees attributes) (partition-macro-args args 'table_) (let ((attributes (keyword-macro-args-to-terms attributes))) (list 'table_-fn (cons 'list attributes) (cons 'list trees)))))
Function:
(defun table_-fn (attributes trees) (declare (xargs :guard (and (keyword-tree-alistp attributes) (tree-listp trees)))) (make-tree-tag :table attributes trees))
Theorem:
(defthm stringp-of-table_ (equal (treep (table_-fn attributes trees)) (and (keyword-tree-alistp attributes) (tree-listp trees))))