Print a character usable in header names between double quotes after preprocessing.
(pprint-q-char qchar bytes) → new-bytes
Function:
(defun pprint-q-char (qchar bytes) (declare (xargs :guard (and (q-char-p qchar) (byte-listp bytes)))) (let ((__function__ 'pprint-q-char)) (declare (ignorable __function__)) (b* ((code (q-char->code qchar)) ((unless (grammar-character-p code)) (raise "Internal error: bad character code ~x0." code))) (pprint-char code bytes))))
Theorem:
(defthm byte-listp-of-pprint-q-char (b* ((new-bytes (pprint-q-char qchar bytes))) (byte-listp new-bytes)) :rule-classes :rewrite)