• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • 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
        • Kit
          • Vl-model
          • Vl-json
          • Vl-gather
            • Vl-gather-opts-p
              • Parse-vl-gather-opts
                • Parse-vl-gather-opts-long
                • Parse-vl-gather-opts-aux
                • Parse-vl-gather-opts-bundle
                • Parse-vl-gather-opts-short->long-list
                • Parse-vl-gather-opts-short->long
                • Vl-gather-opts
                • Make-vl-gather-opts
                • Change-vl-gather-opts
                • Honsed-vl-gather-opts
                • Make-honsed-vl-gather-opts
                • *vl-gather-opts-usage*
                • Vl-gather-opts->strict
                • Vl-gather-opts->start-files
                • Vl-gather-opts->search-path
                • Vl-gather-opts->search-exts
                • Vl-gather-opts->readme
                • Vl-gather-opts->output
                • Vl-gather-opts->mem
                • Vl-gather-opts->include-dirs
                • Vl-gather-opts->help
                • Vl-gather-opts->edition
                • Vl-gather-opts->defines
            • Vl-server
            • Vl-pp
            • Vl-lint
            • Vl-main
            • Vl-toolkit-other-command
            • Vl-help
          • Printer
          • Esim-vl
          • Well-formedness
        • Sv
        • Fgl
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Parse-vl-gather-opts

    Parse-vl-gather-opts-short->long

    Signature
    (parse-vl-gather-opts-short->long getopt::alias) 
      → 
    (mv getopt::errmsg? getopt::longname)
    Arguments
    getopt::alias — Guard (characterp getopt::alias).
    Returns
    getopt::longname — Type (stringp getopt::longname).

    Definitions and Theorems

    Function: parse-vl-gather-opts-short->long

    (defun parse-vl-gather-opts-short->long (getopt::alias)
      (declare (xargs :guard (characterp getopt::alias)))
      (let ((__function__ 'parse-vl-gather-opts-short->long))
        (declare (ignorable __function__))
        (b* ((getopt::look (assoc getopt::alias
                                  '((#\h . "help")
                                    (nil . "readme")
                                    (#\o . "output")
                                    (#\s . "search")
                                    (#\I . "incdir")
                                    (nil . "searchext")
                                    (#\D . "define")
                                    (nil . "edition")
                                    (nil . "strict")
                                    (#\m . "mem"))))
             ((when getopt::look)
              (mv nil (cdr getopt::look))))
          (mv (msg "Unrecognized option -~s0."
                   (implode (list getopt::alias)))
              ""))))

    Theorem: stringp-of-parse-vl-gather-opts-short->long.longname

    (defthm stringp-of-parse-vl-gather-opts-short->long.longname
      (b* (((mv getopt::?errmsg? getopt::?longname)
            (parse-vl-gather-opts-short->long getopt::alias)))
        (stringp getopt::longname))
      :rule-classes :type-prescription)