• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Community
    • 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
          • Atc
            • Atc-implementation
              • Atc-abstract-syntax
              • Atc-pretty-printer
              • Atc-event-and-code-generation
              • Fty-pseudo-term-utilities
              • Atc-term-recognizers
              • Atc-input-processing
              • Atc-shallow-embedding
              • Atc-process-inputs-and-gen-everything
              • Atc-table
              • Atc-fn
              • Atc-pretty-printing-options
                • Pprint-options
                  • Pprint-options-fix
                  • Pprint-options-equiv
                  • Pprint-options-p
                  • Pprint-options->parenthesize-nested-conditionals
                  • Make-pprint-options
                    • Change-pprint-options
                  • Irr-pprint-options
                • Atc-types
                • Atc-macro-definition
              • Atc-tutorial
            • 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
    • Pprint-options

    Make-pprint-options

    Basic constructor macro for pprint-options structures.

    Syntax
    (make-pprint-options [:parenthesize-nested-conditionals <parenthesize-nested-conditionals>]) 
    

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

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

    Definition

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

    Macro: make-pprint-options

    (defmacro make-pprint-options (&rest args)
      (std::make-aggregate 'pprint-options
                           args
                           '((:parenthesize-nested-conditionals))
                           'make-pprint-options
                           nil))

    Function: pprint-options

    (defun pprint-options (parenthesize-nested-conditionals)
     (declare
          (xargs :guard (booleanp parenthesize-nested-conditionals)))
     (declare (xargs :guard t))
     (let ((__function__ 'pprint-options))
      (declare (ignorable __function__))
      (b*
       ((parenthesize-nested-conditionals
           (mbe :logic (acl2::bool-fix parenthesize-nested-conditionals)
                :exec parenthesize-nested-conditionals)))
       (list (cons 'parenthesize-nested-conditionals
                   parenthesize-nested-conditionals)))))