• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
        • Warnings
        • Primitives
        • Use-set
        • Syntax
        • Getting-started
        • Utilities
        • Loader
        • Transforms
        • Lint
        • Mlib
        • Server
          • Vls-commands
            • Vls-command-args-to-eformals
            • Vls-commandinfo-p
              • Vls-commandinfo
                • Make-vls-commandinfo
                • Change-vls-commandinfo
                • Make-honsed-vls-commandinfo
                • Honsed-vls-commandinfo
                • Vls-commandinfo->type
                • Vls-commandinfo->fn
                • Vls-commandinfo->args
              • Vls-success
              • Vls-commandinfolist-p
              • Commands-table
              • Define-vls-command-fn
              • Vls-fail-fn
              • Vls-fail
              • Vls-command-arg-to-eformal
              • Vls-commandtype-p
              • Get-vls-commands
            • Vl-descriptionlist-summaries
            • Vls-transdb
            • File-layout
            • Vls-data-p
            • Ts-queue
            • Vls-showloc
            • Vls-get-plainsrc
            • Vl-description->warnings
            • Vl-describe
            • Vls-port-table
            • Vls-describe
            • Vls-data-from-translation
            • Vl-find-description-insensitive
            • Vls-get-warnings
            • Vls-get-summary
            • Vls-get-origsrc
            • Vls-data-origname-reportcard
            • Vls-get-parents
            • Vls-get-children
            • Vls-get-summaries
            • Vl-ppc-description
            • Vls-get-desctypes
            • Vl-description-summary
            • Start
            • Vl-descalist->descriptions/types
            • Stop
          • Kit
          • Printer
          • Esim-vl
          • Well-formedness
        • Sv
        • Fgl
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Vls-commandinfo-p

    Vls-commandinfo

    Raw constructor for vls-commandinfo-p structures.

    Syntax:

    (vls-commandinfo fn args type)

    This is the lowest-level constructor for vls-commandinfo-p structures. It simply conses together a structure with the specified fields.

    Note: It's generally better to use macros like make-vls-commandinfo or change-vls-commandinfo instead. These macros lead to more readable and robust code, because you don't have to remember the order of the fields.

    The vls-commandinfo-p structures we create here are just constructed with ordinary cons. If you want to create honsed structures, see honsed-vls-commandinfo instead.

    Definition

    This is an ordinary constructor function introduced by defaggregate.

    Function: vls-commandinfo

    (defun vls-commandinfo (fn args type)
      (declare (xargs :guard (and (symbolp fn)
                                  (symbol-listp args)
                                  (vls-commandtype-p type))))
      (cons (cons 'fn fn)
            (cons (cons 'args args)
                  (cons (cons 'type type) nil))))