• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
      • Sv
      • Fgl
      • Vwsim
      • Vl
        • Syntax
        • Loader
        • Warnings
        • Getting-started
        • Utilities
        • Printer
          • Ps
          • Verilog-printing
          • Basic-printing
            • Vl-println?
            • Vl-print
            • Vl-printable-p
            • Vl-col-after-printing-string
            • Vl-col-after-printing-chars
            • Vl-print-strings-with-commas
            • Vl-string-needs-html-encoding-p
            • Vl-println-markup
            • Vl-print-strings-as-lines
            • Vl-print-url
            • Vl-print-nat
            • Vl-indent
            • Vl-println
            • Vl-print-markup
            • Vl-ps-seq
              • Vl-cw-ps-seq
              • Vl-when-html
              • Vl-ps-span
            • Printing-locally
            • Formatted-printing
            • Accessing-printed-output
            • Json-printing
            • Vl-printedlist
          • Kit
          • Mlib
          • Transforms
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Basic-printing

    Vl-ps-seq

    Macro for issuing a sequence of printer commands.

    The macro (vl-ps-seq ...) can be used to combine printing commands. For instance,

    (vl-ps-seq
      (vl-print "foo")
      (vl-println "bar")
      ...)

    Is short for:

    (let* ((ps (vl-print "foo"))
           (ps (vl-println "bar"))
           ...)
      ps)

    Definitions and Theorems

    Function: vl-ps-seq-pairs

    (defun vl-ps-seq-pairs (x)
      (if (consp x)
          (cons (cons 'ps (cons (car x) 'nil))
                (vl-ps-seq-pairs (cdr x)))
        nil))