Documentation
Emit to the current yaclml-code a form which will, at runtime,
princ ITEM. If (yaclml-constant-p ITEM) is true the princ will
be done at compile time.
Source
(defun emit-princ (&rest items)
"Emit to the current yaclml-code a form which will, at runtime,
princ ITEM. If (yaclml-constant-p ITEM) is true the princ will
be done at compile time."
(dolist (item items %yaclml-code%)
(push (cond
((stringp item)
item)
((keywordp item)
(string-downcase (princ-to-string item)))
((yaclml-constant-p item)
(princ-to-string item))
(t `(princ ,item *yaclml-stream*)))
%yaclml-code%)))Source Context