• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • Legacy-defrstobj
      • Proof-checker-array
      • Soft
      • C
      • Farray
      • Rp-rewriter
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Leftist-trees
      • Java
      • Taspi
      • Bitcoin
      • Riscv
      • Des
      • Ethereum
      • X86isa
      • Sha-2
      • Yul
      • Zcash
      • Proof-checker-itp13
      • Regex
      • ACL2-programming-language
        • Primitive-functions
        • Translated-terms
        • Values
          • Value
            • Valuep
            • Value-case
            • Value-fix
            • Value-equiv
            • Value-count
            • Value-cons
            • Value-symbol
            • Value-string
              • Value-string->get
              • Make-value-string
                • Change-value-string
              • Value-number
              • Value-character
              • Value-kind
            • Symbol-value
            • Lower-symbol
            • Lift-symbol-list
            • Symbol-value-option
            • Value-option
            • Lift-value
            • Lift-symbol
            • Value-rational->get
            • Value-integer->get
            • Value-case-rational
            • Value-case-integer
            • Value-symbol-list
            • Lower-value
            • Value-list-of
            • Value-list
            • Symbol-value-list
            • Symbol-value-set
            • Value-t
            • Value-nil
          • Evaluation
          • Program-equivalence
          • Functions
          • Packages
          • Programs
          • Interpreter
          • Evaluation-states
        • Json
        • Jfkr
        • Equational
        • Cryptography
        • Poseidon
        • Where-do-i-place-my-book
        • Axe
        • Bigmems
        • Builtins
        • Execloader
        • Aleo
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Std
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Value-string

    Make-value-string

    Basic constructor macro for value-string structures.

    Syntax
    (make-value-string [:get <get>]) 
    

    This is the usual way to construct value-string structures. It simply conses together a structure with the specified fields.

    This macro generates a new value-string structure from scratch. See also change-value-string, which can "change" an existing structure, instead.

    Definition

    This is an ordinary make- macro introduced by fty::defprod.

    Macro: make-value-string

    (defmacro make-value-string (&rest args)
      (std::make-aggregate 'value-string
                           args '((:get))
                           'make-value-string
                           nil))

    Function: value-string

    (defun value-string (get)
      (declare (xargs :guard (stringp get)))
      (declare (xargs :guard t))
      (let ((__function__ 'value-string))
        (declare (ignorable __function__))
        (b* ((get (mbe :logic (str-fix get) :exec get)))
          (cons :string (list get)))))