• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • Legacy-defrstobj
      • Proof-checker-array
      • Soft
      • C
      • Farray
      • Rp-rewriter
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Leftist-trees
      • Java
      • Riscv
      • Taspi
      • Bitcoin
      • Des
      • Ethereum
      • X86isa
      • Sha-2
      • Yul
      • Zcash
      • Proof-checker-itp13
      • Regex
      • ACL2-programming-language
      • Json
      • Jfkr
      • Equational
      • Cryptography
      • Poseidon
      • Where-do-i-place-my-book
      • Axe
      • Aleo
        • Aleobft
        • Aleovm
        • Leo
          • Grammar
          • Early-version
            • Json2ast
            • Testing
            • Definition
              • Flattening
              • Abstract-syntax
                • Expression
                • Syntax-abstraction
                • Statement
                • Files
                • Input-files
                  • Input-section-list->title-list
                  • Input-title-option
                  • Input-section-option
                  • Input-item
                  • Input-type
                  • Input-section
                  • Input-expression
                  • Input-title
                  • Input-file
                    • Input-file-fix
                    • Input-file-equiv
                    • Make-input-file
                      • Input-file->sections
                      • Change-input-file
                      • Input-filep
                    • Input-section-option-result
                    • Input-section-list-result
                    • Input-type-result
                    • Input-title-result
                    • Input-title-option-result
                    • Input-section-result
                    • Input-item-result
                    • Input-item-list-result
                    • Input-file-result
                    • Input-expression-result
                    • Input-section-list
                    • Input-item-list
                    • Input-title-list
                  • Identifiers
                  • Types
                  • Struct-init
                  • Branch
                  • Statements
                  • Format-strings
                  • Input-syntax-abstraction
                  • Expressions
                  • Output-files
                  • Addresses
                  • Literals
                  • Characters
                  • Expression-list
                  • Statement-list
                  • Output-syntax-abstraction
                  • Struct-init-list
                  • Branch-list
                  • Annotations
                  • Abstract-syntax-trees
                  • Symbols
                  • Keywords
                  • Programs
                  • Packages
                  • Bit-sizes
                • Dynamic-semantics
                • Compilation
                • Static-semantics
                • Concrete-syntax
        • Bigmems
        • Builtins
        • Execloader
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Community
      • Std
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Input-file

    Make-input-file

    Basic constructor macro for input-file structures.

    Syntax
    (make-input-file [:sections <sections>]) 
    

    This is the usual way to construct input-file structures. It simply conses together a structure with the specified fields.

    This macro generates a new input-file structure from scratch. See also change-input-file, which can "change" an existing structure, instead.

    Definition

    This is an ordinary make- macro introduced by fty::defprod.

    Macro: make-input-file

    (defmacro make-input-file (&rest args)
      (std::make-aggregate 'input-file
                           args '((:sections))
                           'make-input-file
                           nil))

    Function: input-file

    (defun input-file (sections)
      (declare (xargs :guard (input-section-listp sections)))
      (declare (xargs :guard t))
      (let ((__function__ 'input-file))
        (declare (ignorable __function__))
        (b* ((sections (mbe :logic (input-section-list-fix sections)
                            :exec sections)))
          (cons :input-file (list (cons 'sections sections))))))