• 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
          • Vl-lintconfig-p
            • Parse-vl-lintconfig
              • Parse-vl-lintconfig-long
              • Parse-vl-lintconfig-aux
              • Parse-vl-lintconfig-bundle
              • Parse-vl-lintconfig-short->long-list
              • Parse-vl-lintconfig-short->long
              • Vl-lintconfig
              • Make-vl-lintconfig
              • Change-vl-lintconfig
              • Honsed-vl-lintconfig
              • *vl-lintconfig-usage*
              • Make-honsed-vl-lintconfig
              • Vl-lintconfig->topmods
              • Vl-lintconfig->strict
              • Vl-lintconfig->start-files
              • Vl-lintconfig->search-path
              • Vl-lintconfig->search-exts
              • Vl-lintconfig->readme
              • Vl-lintconfig->quiet
              • Vl-lintconfig->mem
              • Vl-lintconfig->include-dirs
              • Vl-lintconfig->ignore
              • Vl-lintconfig->help
              • Vl-lintconfig->edition
              • Vl-lintconfig->dropmods
              • Vl-lintconfig->debug
              • Vl-lintconfig->cclimit
            • Lucid
            • Skip-detection
            • Vl-lintresult-p
            • Lint-warning-suppression
            • Condcheck
            • Selfassigns
            • Leftright-check
            • Dupeinst-check
            • Oddexpr-check
            • Remove-toohard
            • Qmarksize-check
            • Portcheck
            • Duplicate-detect
            • Vl-print-certain-warnings
            • Duperhs-check
            • *vl-lint-help*
            • Lint-stmt-rewrite
            • Drop-missing-submodules
            • Check-case
            • Drop-user-submodules
            • Check-namespace
            • Vl-lint
          • Mlib
          • Server
          • Kit
          • Printer
          • Esim-vl
          • Well-formedness
        • Sv
        • Fgl
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Parse-vl-lintconfig

    Parse-vl-lintconfig-short->long

    Signature
    (parse-vl-lintconfig-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-lintconfig-short->long

    (defun parse-vl-lintconfig-short->long (getopt::alias)
      (declare (xargs :guard (characterp getopt::alias)))
      (let ((__function__ 'parse-vl-lintconfig-short->long))
        (declare (ignorable __function__))
        (b* ((getopt::look (assoc getopt::alias
                                  '((#\h . "help")
                                    (nil . "readme")
                                    (#\s . "search")
                                    (nil . "searchext")
                                    (#\I . "incdir")
                                    (nil . "topmod")
                                    (#\q . "quiet")
                                    (#\d . "drop")
                                    (#\i . "ignore")
                                    (nil . "cclimit")
                                    (nil . "edition")
                                    (nil . "strict")
                                    (#\m . "mem")
                                    (nil . "debug"))))
             ((when getopt::look)
              (mv nil (cdr getopt::look))))
          (mv (msg "Unrecognized option -~s0."
                   (implode (list getopt::alias)))
              ""))))

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

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