• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
      • B*
      • Defunc
      • Fty
      • Apt
      • Std/util
      • Defdata
      • Defrstobj
      • Seq
      • Match-tree
      • Defrstobj
      • With-supporters
      • Def-partial-measure
      • Template-subst
      • Soft
      • Defthm-domain
      • Event-macros
        • Evmac-input-hints-p
        • Evmac-input-print-p
        • Event-macro-input-processing
        • Function-definedness
        • Event-macro-screen-printing
        • Make-event-terse
        • Event-macro-applicability-conditions
        • Event-macro-results
        • Template-generators
        • Event-macro-event-generators
        • Event-macro-proof-preparation
        • Try-event
        • Restore-output?
        • Restore-output
        • Fail-event
        • Cw-event
        • Event-macro-xdoc-constructors
          • Event-macro-xdoc-constructors-user-level
            • Xdoc::evmac-desc-function/lambda/macro
            • Xdoc::evmac-desc-term
            • Xdoc::evmac-topic-design-notes
            • Xdoc::evmac-appcond
            • Xdoc::evmac-desc-input-name
            • Xdoc::evmac-section-redundancy
            • Xdoc::evmac-input-show-only
            • Xdoc::evmac-input-print
              • Xdoc::evmac-desc-input-enable-t/nil
              • Xdoc::evmac-section-appconds
              • Xdoc::evmac-input-hints
              • Xdoc::evmac-section-generated
              • Xdoc::evmac-section-intro
              • Xdoc::evmac-section-inputs
              • Xdoc::evmac-section-form
            • Event-macro-xdoc-constructors-implementation-level
          • Event-macro-intro-macros
        • Def-universal-equiv
        • Def-saved-obligs
        • With-supporters-after
        • Definec
        • Sig
        • Outer-local
        • Data-structures
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Event-macro-xdoc-constructors-user-level

    Xdoc::evmac-input-print

    Construct a description of the :print input for the user documentation of an event macro.

    Since this documentation is part of the XDOC topic whose name is the name of the macro, the macro-ref variable is not a link.

    Macro: evmac-input-print

    (defmacro xdoc::evmac-input-print (macro &key additional)
     (declare (xargs :guard (symbolp macro)))
     (b* ((macro-name (string-downcase (symbol-name macro)))
          (macro-ref (concatenate 'string
                                  "@('" macro-name "')")))
      (cons
       'xdoc::desc
       (cons
        '"@(':print') — default @(':result')"
        (cons
         '(xdoc::p
               "Specifies what is printed on the screen
            (see "
               (xdoc::seetopic "acl2::event-macro-screen-printing"
                               "screen printing")
               ").")
         (cons
          '(xdoc::p "It must be one of the following:")
          (cons
           (cons
            'xdoc::ul
            (cons
             '(xdoc::li
                  "@('nil'), to print nothing (not even error output).")
             (cons
              '(xdoc::li
                    "@(':error'), to print only error output (if any).")
              (cons
               (cons
                'xdoc::li
                (cons
                 '"@(':result'), to print, besides any error output,
             also the "
                 (cons '(xdoc::seetopic
                             "acl2::event-macro-results" "results")
                       (cons '" of "
                             (cons macro-ref
                                   '(".
             This is the default value of the @(':print') input."))))))
               (cons
                (cons
                 'xdoc::li
                 (cons
                  '"@(':info'), to print,
             besides any error output and the results,
             also some additional information about
             the internal operations of "
                  (cons macro-ref '("."))))
                '((xdoc::li
                   "@(':all'), to print,
             besides any error output,
             the results,
             and the additional information,
             also ACL2's output in response to all the submitted events.")))))))
           (cons (cons 'xdoc::p
                       (cons '"If the call of "
                             (cons macro-ref
                                   '(" is redundant,
            an indication to that effect is printed on the screen,
            unless @(':print') is @('nil')."))))
                 additional))))))))