Basic constructor macro for plexeme-char structures.
(make-plexeme-char [:const <const>])
This is the usual way to construct plexeme-char structures. It simply conses together a structure with the specified fields.
This macro generates a new plexeme-char structure from scratch. See also change-plexeme-char, which can "change" an existing structure, instead.
This is an ordinary
Macro:
(defmacro make-plexeme-char (&rest args) (std::make-aggregate 'plexeme-char args '((:const)) 'make-plexeme-char nil))
Function:
(defun plexeme-char (const) (declare (xargs :guard (cconstp const))) (declare (xargs :guard t)) (b* ((const (mbe :logic (cconst-fix const) :exec const))) (cons :char (list const))))