• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • Legacy-defrstobj
      • C
        • Syntax-for-tools
        • Atc
        • Transformation-tools
        • Language
          • Abstract-syntax
          • Integer-ranges
          • Implementation-environments
          • Dynamic-semantics
          • Static-semantics
          • Grammar
          • Types
          • Integer-formats-definitions
          • Computation-states
          • Portable-ascii-identifiers
          • Values
          • Integer-operations
          • Object-designators
          • Operations
          • Errors
          • Tag-environments
            • Tag-info
            • Tag-info-option
            • Tag-env-add
            • Tag-env-option
            • Tag-info-struct-flexiblep
            • Tag-env-result
            • Tag-env-lookup
            • Tag-env
            • Tag-env-init
          • Function-environments
          • Character-sets
          • Flexible-array-member-removal
          • Arithmetic-operations
          • Pointer-operations
          • Real-operations
          • Array-operations
          • Scalar-operations
          • Structure-operations
        • Representation
        • Insertion-sort
        • Pack
      • Proof-checker-array
      • Soft
      • Farray
      • Rp-rewriter
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Ethereum
      • Leftist-trees
      • Java
      • Riscv
      • Taspi
      • Bitcoin
      • Zcash
      • Des
      • X86isa
      • Sha-2
      • Yul
      • Proof-checker-itp13
      • Regex
      • ACL2-programming-language
      • Json
      • Jfkr
      • Equational
      • Cryptography
      • Axe
      • Poseidon
      • Where-do-i-place-my-book
      • Aleo
      • Bigmems
      • Builtins
      • Execloader
      • Solidity
      • Paco
      • Concurrent-programs
      • Bls12-377-curves
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
    • Math
    • Testing-utilities
  • Language

Tag-environments

C tag environments.

C code is statically checked and dynamically executed in the context of structure, union, and enumeration types. This context is captured via tag environments, where `tag' refers to the fact that tags identify structure, union, and enumeration types. These tag environments are used in both the static and dynamic semantics.

Subtopics

Tag-info
Fixtype of information about a structure, union, or enumeration type.
Tag-info-option
Fixtype of optional tag information.
Tag-env-add
Add tag information to a tag environment.
Tag-env-option
Fixtype of optional tag environments.
Tag-info-struct-flexiblep
Check if (the information for) a structure type has a flexible array member.
Tag-env-result
Fixtype of errors and tag environments.
Tag-env-lookup
Look up a tag in a tag environment.
Tag-env
Fixtype of tag environments.
Tag-env-init
Initial tag environment.