Define a macro that quotes arguments not wrapped in
(defmacro name macro-args doc-string dcl ... dcl body)
However, for any subsequent call of
ACL2 !>(defmacroq mac2 (x y) `(list ,x ,y)) Summary Form: ( DEFMACRO MAC2 ...) Rules: NIL Time: 0.00 seconds (prove: 0.00, print: 0.00, other: 0.00) MAC2 ACL2 !>:trans1 (mac2 (a b) (:eval (append '(c d) '(e f)))) (LIST '(A B) (APPEND '(C D) '(E F))) ACL2 !>(mac2 (a b) (:eval (append '(c d) '(e f)))) ((A B) (C D E F)) ACL2 !>
Thus, if we ignore the role of
(defmacro mac2 (x y) `(list ',x ',y))