• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • 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
        • Soft
        • C
          • Syntax-for-tools
            • Disambiguator
            • Abstract-syntax
            • Parser
            • Validator
            • Printer
            • Formalized-subset
            • Mapping-to-language-definition
            • Input-files
            • Defpred
            • Output-files
            • Abstract-syntax-operations
            • Validation-information
            • Implementation-environments
            • Concrete-syntax
              • Grammar
              • Files
              • Grammar-character-p
              • Keywords
              • Grammar-character-listp
              • File-paths
                • Filepath-option
                • Filepath
                  • Filepath-fix
                  • Filepath-equiv
                  • Filepathp
                  • Make-filepath
                    • Filepath->unwrap
                    • Change-filepath
                  • Filepath-set
              • Unambiguity
              • Ascii-identifiers
              • Preprocessing
              • Abstraction-mapping
            • Atc
            • Language
            • Representation
            • Transformation-tools
            • Insertion-sort
            • Pack
          • Bv
          • Imp-language
          • Event-macros
          • Java
          • Bitcoin
          • Ethereum
          • Yul
          • Zcash
          • ACL2-programming-language
          • Prime-fields
          • Json
          • Syntheto
          • File-io-light
          • Cryptography
          • Number-theory
          • Lists-light
          • Axe
          • Builtins
          • Solidity
          • Helpers
          • Htclient
          • Typed-lists-light
          • Arithmetic-light
        • X86isa
        • Axe
        • Execloader
      • Math
      • Testing-utilities
    • Filepath

    Make-filepath

    Basic constructor macro for filepath structures.

    Syntax
    (make-filepath [:unwrap <unwrap>]) 
    

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

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

    Definition

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

    Macro: make-filepath

    (defmacro make-filepath (&rest args)
      (std::make-aggregate 'filepath
                           args '((:unwrap))
                           'make-filepath
                           nil))

    Function: filepath

    (defun filepath (unwrap)
      (declare (xargs :guard (acl2::any-p unwrap)))
      (declare (xargs :guard t))
      (let ((__function__ 'filepath))
        (declare (ignorable __function__))
        (b* ((unwrap (mbe :logic (identity unwrap)
                          :exec unwrap)))
          (list (cons 'unwrap unwrap)))))