• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Community
    • Proof-automation
    • ACL2
    • Macro-libraries
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
      • Sv
      • Fgl
      • Vwsim
      • Vl
        • Syntax
        • Loader
        • Warnings
        • Getting-started
        • Utilities
        • Printer
        • Kit
          • Vl-lint
            • Vl-lintconfig-p
              • Parse-vl-lintconfig
                • Parse-vl-lintconfig-long
                • Parse-vl-lintconfig-aux
                • Parse-vl-lintconfig-bundle
                  • Parse-vl-lintconfig-short->long
                  • Parse-vl-lintconfig-short->long-list
                • Vl-lintconfig
                • *vl-lintconfig-usage*
                • Make-vl-lintconfig
                • Change-vl-lintconfig
                • Honsed-vl-lintconfig
                • Make-honsed-vl-lintconfig
                • Vl-lintconfig->topmods
                • Vl-lintconfig->strict
                • Vl-lintconfig->stmt-limit
                • Vl-lintconfig->start-files
                • Vl-lintconfig->shell
                • Vl-lintconfig->search-path
                • Vl-lintconfig->search-exts
                • Vl-lintconfig->readme
                • Vl-lintconfig->quiet
                • Vl-lintconfig->post-shell
                • Vl-lintconfig->plusargs
                • Vl-lintconfig->no-typo
                • Vl-lintconfig->no-sv-use-set
                • Vl-lintconfig->no-html
                • Vl-lintconfig->mem
                • Vl-lintconfig->include-dirs
                • Vl-lintconfig->ignore-files
                • Vl-lintconfig->ignore
                • Vl-lintconfig->help
                • Vl-lintconfig->global-packages
                • Vl-lintconfig->elab-limit
                • Vl-lintconfig->edition
                • Vl-lintconfig->dropmods
                • Vl-lintconfig->defines
                • Vl-lintconfig->debug
                • Vl-lintconfig->cclimit
              • Condcheck
              • Lint-warning-suppression
              • Lucid
              • Lvaluecheck
              • Vl-interfacelist-alwaysstyle
              • Truncation-warnings
              • Vl-modulelist-alwaysstyle
              • Skip-detection
              • Vl-lint-report
              • Vl-lintresult
              • Vl::vl-design-sv-use-set
              • Oddexpr-check
              • Leftright-check
              • Duplicate-detect
              • Selfassigns
              • *vl-lint-help*
              • Arith-compare-check
              • Dupeinst-check
              • Qmarksize-check
              • Lint-whole-file-suppression
              • Run-vl-lint-main
              • Logicassign
              • Run-vl-lint
              • Vl-print-certain-warnings
              • Duperhs-check
              • Vl-lint-top
              • Sd-filter-problems
              • Vl-modulelist-add-svbad-warnings
              • Vl-module-add-svbad-warnings
              • Check-case
              • Vl-lint-extra-actions
              • Drop-lint-stubs
              • Vl-lint-print-warnings
              • Drop-user-submodules
              • Check-namespace
              • Vl-lintconfig-loadconfig
              • Vl-lint-design->svex-modalist-wrapper
              • Vl-delete-sd-problems-for-modnames-aux
              • Vl-collect-new-names-from-orignames
              • Vl-lint-print-all-warnings
              • Vl-design-remove-unnecessary-modules
              • Vl-delete-sd-problems-for-modnames
              • Vl-always-check-style
              • Vl-vardecllist-svbad-warnings
              • Vl-vardecl-svbad-warnings
              • Vl-reportcard-remove-suppressed
              • Vl-reportcard-keep-suppressed
              • Vl-alwayslist-check-style
              • Vl-remove-nameless-descriptions
              • Vl-lint-apply-quiet
              • Vl-warninglist-remove-suppressed
              • Vl-warninglist-keep-suppressed
              • Vl-print-eliminated-descs
              • Vl-module-alwaysstyle
              • Vl-jp-reportcard-aux
              • Vl-interface-alwaysstyle
              • Vl-design-alwaysstyle
              • Vl-jp-description-locations
              • Vl-jp-reportcard
              • Vl-pp-stringlist-lines
              • Vl-jp-design-locations
              • Vl-datatype-svbad-p
              • Unpacked-range-check
              • Sd-problem-major-p
              • Vl-alwaysstyle
            • Vl-server
            • Vl-gather
            • Vl-zip
            • Vl-main
            • Split-plusargs
            • Vl-shell
            • Vl-json
          • Mlib
          • Transforms
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Parse-vl-lintconfig

    Parse-vl-lintconfig-bundle

    Signature
    (parse-vl-lintconfig-bundle getopt::longnames 
                                args getopt::acc getopt::seen) 
     
      → 
    (mv getopt::errmsg getopt::acc getopt::seen rest)
    Arguments
    getopt::longnames — The already-expanded out names of the bundled options, with no dashes.
        Guard (string-listp getopt::longnames).
    args — Remaining arguments past longname.
        Guard (string-listp args).
    getopt::acc — Structure we're updating.
        Guard (vl-lintconfig-p getopt::acc).
    getopt::seen — List of longnames that we've seen so far.
        Guard (string-listp getopt::seen).
    Returns
    getopt::errmsg — NIL on success or an error message.
    getopt::acc — Type (vl-lintconfig-p getopt::acc), given (force (vl-lintconfig-p getopt::acc)).
    getopt::seen — Type (string-listp getopt::seen), given (and (force (string-listp getopt::longnames)) (force (string-listp getopt::seen))) .
    rest — Type (string-listp rest), given (force (string-listp args)).

    Definitions and Theorems

    Function: parse-vl-lintconfig-bundle

    (defun parse-vl-lintconfig-bundle
           (getopt::longnames args getopt::acc getopt::seen)
     (declare (xargs :guard (and (string-listp getopt::longnames)
                                 (string-listp args)
                                 (vl-lintconfig-p getopt::acc)
                                 (string-listp getopt::seen))))
     (let ((__function__ 'parse-vl-lintconfig-bundle))
       (declare (ignorable __function__))
       (b*
         (((when (atom getopt::longnames))
           (mv nil getopt::acc getopt::seen args))
          ((mv getopt::err getopt::acc rest)
           (parse-vl-lintconfig-long (car getopt::longnames)
                                     nil args getopt::acc getopt::seen))
          ((when getopt::err)
           (mv getopt::err
               getopt::acc getopt::seen rest))
          (getopt::seen (cons (car getopt::longnames)
                              getopt::seen)))
         (parse-vl-lintconfig-bundle (cdr getopt::longnames)
                                     rest getopt::acc getopt::seen))))

    Theorem: vl-lintconfig-p-of-parse-vl-lintconfig-bundle.acc

    (defthm vl-lintconfig-p-of-parse-vl-lintconfig-bundle.acc
     (implies
      (force (vl-lintconfig-p getopt::acc))
      (b* (((mv getopt::?errmsg getopt::?acc
                getopt::?seen common-lisp::?rest)
            (parse-vl-lintconfig-bundle getopt::longnames
                                        args getopt::acc getopt::seen)))
        (vl-lintconfig-p getopt::acc)))
     :rule-classes :rewrite)

    Theorem: string-listp-of-parse-vl-lintconfig-bundle.seen

    (defthm string-listp-of-parse-vl-lintconfig-bundle.seen
     (implies
      (and (force (string-listp getopt::longnames))
           (force (string-listp getopt::seen)))
      (b* (((mv getopt::?errmsg getopt::?acc
                getopt::?seen common-lisp::?rest)
            (parse-vl-lintconfig-bundle getopt::longnames
                                        args getopt::acc getopt::seen)))
        (string-listp getopt::seen)))
     :rule-classes :rewrite)

    Theorem: string-listp-of-parse-vl-lintconfig-bundle.rest

    (defthm string-listp-of-parse-vl-lintconfig-bundle.rest
     (implies
      (force (string-listp args))
      (b* (((mv getopt::?errmsg getopt::?acc
                getopt::?seen common-lisp::?rest)
            (parse-vl-lintconfig-bundle getopt::longnames
                                        args getopt::acc getopt::seen)))
        (string-listp rest)))
     :rule-classes :rewrite)

    Theorem: parse-vl-lintconfig-bundle-makes-progress

    (defthm parse-vl-lintconfig-bundle-makes-progress
     (<=
      (len
       (mv-nth
            3
            (parse-vl-lintconfig-bundle getopt::longnames
                                        args getopt::acc getopt::seen)))
      (len args))
     :rule-classes ((:rewrite) (:linear)))