• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • Apt
        • Error-checking
        • Fty-extensions
        • Isar
        • Kestrel-utilities
        • Set
        • C
          • Syntax-for-tools
            • Formalized-subset
            • Mapping-to-language-definition
            • Input-files
            • Compilation-database
            • Printer
            • Output-files
              • Output-files-implementation
                • Output-files-process-inputs
                • Output-files-process-const/arg
                • Output-files-process-printer-options
                • Output-files-gen-files
                • Output-files-fn
                • Output-files-process-path
                • Output-files-process-inputs-and-gen-files
                  • *output-files-printer-options*
                  • *output-files-allowed-options*
                  • Output-files-definition
                • Output-files-prog
              • Abstract-syntax-operations
              • Implementation-environments
              • Abstract-syntax
              • Concrete-syntax
              • Disambiguation
              • Validation
              • Gcc-builtins
              • Preprocessing
              • Parsing
            • Atc
            • Transformation-tools
            • Language
            • Representation
            • Insertion-sort
            • Pack
          • Soft
          • Bv
          • Imp-language
          • Ethereum
          • Event-macros
          • Java
          • Riscv
          • Bitcoin
          • Zcash
          • Yul
          • ACL2-programming-language
          • Prime-fields
          • Json
          • Syntheto
          • File-io-light
          • Cryptography
          • Number-theory
          • Axe
          • Lists-light
          • Builtins
          • Solidity
          • Helpers
          • Htclient
          • Typed-lists-light
          • Arithmetic-light
        • X86isa
        • Axe
        • Execloader
      • Math
      • Testing-utilities
    • Output-files-implementation

    Output-files-process-inputs-and-gen-files

    Process the inputs and generate the files.

    Signature
    (output-files-process-inputs-and-gen-files arg args progp state) 
      → 
    (mv erp state)
    Arguments
    args — Guard (true-listp args).
    progp — Guard (booleanp progp).

    Definitions and Theorems

    Function: output-files-process-inputs-and-gen-files

    (defun output-files-process-inputs-and-gen-files
           (arg args progp state)
     (declare (xargs :stobjs (state)))
     (declare (xargs :guard (and (true-listp args)
                                 (booleanp progp))))
     (declare (xargs :guard (implies (not progp) (not arg))))
     (let ((__function__ 'output-files-process-inputs-and-gen-files))
      (declare (ignorable __function__))
      (b*
       (((reterr) state)
        ((erp tunits
              path indent-size paren-nested-conds)
         (output-files-process-inputs arg args progp (w state)))
        ((erp state)
         (output-files-gen-files tunits path
                                 indent-size paren-nested-conds state)))
       (retok state))))