• 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
        • Soft-future-work
        • Soft-macros
        • Updates-to-workshop-material
        • Soft-implementation
          • Soft-implementation-core
          • Gen-macro2-of-macro
          • Defun-inst-implementation
          • Defthm-inst-implementation
          • Defsoft-implementation
          • Defunvar-implementation
            • Defunvar-fn
            • Show-defunvar
            • Defunvar-macro-definition
            • Defund-sk2-implementation
            • Defun-sk2-implementation
            • Define-sk2-implementation
            • Defchoose2-implementation
            • Defund2-implementation
            • Defun2-implementation
            • Define2-implementation
          • Soft-notions
        • C
        • Farray
        • Rp-rewriter
        • Instant-runoff-voting
        • Imp-language
        • Sidekick
        • Leftist-trees
        • Java
        • Taspi
        • Bitcoin
        • Riscv
        • 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
        • Bigmems
        • Builtins
        • Execloader
        • Aleo
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Std
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Defunvar-implementation

    Defunvar-macro-definition

    Definition of the defunvar macro.

    Macro: defunvar

    (defmacro defunvar (&whole call &rest inputs)
     (cons
      'make-event-terse
      (cons
       (cons
        'defunvar-fn
        (cons
         (cons 'quote (cons inputs 'nil))
         (cons
          (cons 'quote (cons call 'nil))
          (cons
           (cons
            'cons
            (cons ''defunvar
                  (cons (cons 'quote
                              (cons (if (consp inputs) (car inputs) nil)
                                    'nil))
                        'nil)))
           '(state)))))
       'nil)))

    Macro: defunvar

    (defmacro acl2::defunvar (&rest inputs)
      (cons 'defunvar inputs))