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