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