• 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
          • 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
                • Defstruct
                  • Defstruct-implementation
                    • Defstruct-info
                    • Defstruct-gen-recognizer
                    • Defstruct-gen-integer-member-ops
                    • Defstruct-gen-constructor
                    • Defstruct-gen-array-member-ops
                    • Defstruct-gen-recognizer-conjuncts
                    • Defstruct-member-info
                    • Defstruct-member-info-list->memtype-list
                    • Defstruct-process-members
                    • Defstruct-gen-fixer
                    • Defstruct-gen-member-ops
                    • Defstruct-process-inputs
                    • Defstruct-gen-fixing-term
                    • Defstruct-info-option
                    • Defstruct-gen-everything
                    • Defstruct-gen-all-member-ops
                    • Defstruct-gen-recognizer-all-conjuncts
                    • Defstruct-info->writer-element-list
                    • Defstruct-info->reader-element-list
                    • Defstruct-gen-fixtype
                    • Defstruct-info->writer-list
                    • Defstruct-info->reader-list
                    • Defstruct-fn
                    • Defstruct-table-record-event
                    • Defstruct-table-lookup
                    • Irr-defstruct-info
                    • Defstruct-info->writer-element-list-aux
                    • Defstruct-info->reader-element-list-aux
                    • Defstruct-info->writer-list-aux
                    • Defstruct-info->reader-list-aux
                    • Defstruct-member-info-list
                    • Defstruct-table-definition
                    • *defstruct-table*
                    • Defstruct-macro-implementtion
                • Defobject
                • Atc-let-designations
                • Pointer-types
                • Atc-conditional-expressions
              • Atc-process-inputs-and-gen-everything
              • Atc-table
              • Atc-fn
              • Atc-pretty-printing-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
  • Defstruct

Defstruct-implementation

Implementation of defstruct.

Subtopics

Defstruct-info
Fixtype of information about shallowly embedded C structures.
Defstruct-gen-recognizer
Generate the recognizer of the structures defined by the defstruct.
Defstruct-gen-integer-member-ops
Generate the operations for an integer member of the structures defined by the defstruct.
Defstruct-gen-constructor
Generate the constructor of values of the structure type.
Defstruct-gen-array-member-ops
Generate the operations for an array member of the structures defined by defstruct.
Defstruct-gen-recognizer-conjuncts
Generate conjuncts for a member in the recognizer of the structures.
Defstruct-member-info
Fixtype of information about members of shallowly embedded C structures.
Defstruct-member-info-list->memtype-list
Lift defstruct-member-info->memtype to lists.
Defstruct-process-members
Process the member inputs of a defstruct call.
Defstruct-gen-fixer
Generate the fixer of the structures defined by the defstruct.
Defstruct-gen-member-ops
Generate the operations for a member of the structures defined by the defstruct.
Defstruct-process-inputs
Process the inputs of a defstruct call.
Defstruct-gen-fixing-term
Generate the fixing term for a member of a given type.
Defstruct-info-option
Fixtype of optional information about shallowly embedded C structures.
Defstruct-gen-everything
Generate all the events.
Defstruct-gen-all-member-ops
Generate the operations for all the members of the structures defined by the defstruct.
Defstruct-gen-recognizer-all-conjuncts
Generate conjuncts for all members in the recognizer of the structures.
Defstruct-info->writer-element-list
Collect all the writer-element components of a defstruct.
Defstruct-info->reader-element-list
Collect all the reader-element components of a defstruct.
Defstruct-gen-fixtype
Generate the fixtype of the structures defined by the defstruct.
Defstruct-info->writer-list
Collect all the writer components of a defstruct.
Defstruct-info->reader-list
Collect all the reader components of a defstruct.
Defstruct-fn
Process the inputs and generate the events.
Defstruct-table-record-event
Event to update the table of shallowly embedded C structures by recording a new C structure in it.
Defstruct-table-lookup
Retrieve information about a shallowly embedded C structure.
Irr-defstruct-info
Irrelevant information about a shallowly embedded C structure.
Defstruct-info->writer-element-list-aux
Defstruct-info->reader-element-list-aux
Defstruct-info->writer-list-aux
Defstruct-info->reader-list-aux
Defstruct-member-info-list
Fixtype of lists of information about members of shallowly embedded C structures.
Defstruct-table-definition
Definition of the table of shallowly embedded C structures.
*defstruct-table*
Name of the table of shallowly embedded C structures.
Defstruct-macro-implementtion
Definition of defstruct.