• 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
      • C
        • Syntax-for-tools
        • Atc
        • Language
          • Abstract-syntax
            • Tyspecseq
            • Expr
            • Binop
            • Fileset
            • Obj-declor
            • Ident
            • Iconst
            • Obj-adeclor
            • Const
            • Fundef
            • Unop
            • File
            • Tag-declon
            • Fun-declor
            • Obj-declon
            • Iconst-length
            • Abstract-syntax-operations
              • Tyspec+declor-to-ident+params+tyname
              • Fundef-list-to-fun-declon-list
              • Fundef-list->name-list
              • Ident+tyname-to-tyspec+declor
              • Tyspec+declor-to-ident+tyname
              • Obj-declon-to-ident+scspec+tyname+init
              • Ident+adeclor-to-obj-declor
              • Ident+adeclor-to-fun-declor
              • Fun-adeclor-to-params+declor
              • Param-declon-list-to-ident+tyname-lists
              • Obj-declor-to-ident+adeclor
              • Fun-declor-to-ident+adeclor
              • Expr-constp
              • Fundef-to-fun-declon
              • Param-declon-to-ident+tyname
              • Ext-declon-list->fundef-list
              • Struct-declon-to-ident+tyname
              • Unop-nonpointerp
              • Binop-strictp
              • Expr-list-constp
              • Binop-purep
              • Fundef->name
            • Label
            • Struct-declon
            • Initer
            • Ext-declon
            • Fun-adeclor
            • Expr-option
            • Iconst-base
            • Initer-option
            • Iconst-option
            • Tyspecseq-option
            • Stmt-option
            • Scspecseq
            • Param-declon
            • Obj-declon-option
            • File-option
            • Tyname
            • Transunit
            • Fun-declon
            • Transunit-result
            • Param-declon-list
            • Struct-declon-list
            • Expr-list
            • Tyspecseq-list
            • Ident-set
            • Ident-list
            • Ext-declon-list
            • Unop-list
            • Tyname-list
            • Fundef-list
            • Fun-declon-list
            • Binop-list
            • Stmt-fixtypes
            • Expr-fixtypes
          • Integer-ranges
          • Implementation-environments
          • Dynamic-semantics
          • Static-semantics
          • Grammar
          • Integer-formats
          • Types
          • Portable-ascii-identifiers
          • Values
          • Integer-operations
          • Computation-states
          • Object-designators
          • Operations
          • Errors
          • Tag-environments
          • Function-environments
          • Character-sets
          • Flexible-array-member-removal
          • Arithmetic-operations
          • Pointer-operations
          • Bytes
          • Keywords
          • Real-operations
          • Array-operations
          • Scalar-operations
          • Structure-operations
        • Representation
        • Transformation-tools
        • Insertion-sort
        • Pack
      • 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
  • Abstract-syntax

Abstract-syntax-operations

Operations on the C abstract syntax.

Subtopics

Tyspec+declor-to-ident+params+tyname
Turn a type specifier sequence and a function declarator into an identifier, a list of parameter declarations, and a type name.
Fundef-list-to-fun-declon-list
Lift fundef-to-fun-declon to lists.
Fundef-list->name-list
Lift fundef->name to lists.
Ident+tyname-to-tyspec+declor
Turn an identifier and a type name into a type specifier sequence and an object declarator.
Tyspec+declor-to-ident+tyname
Turn a type specifier sequence and an object declarator into an identifier and a type name.
Obj-declon-to-ident+scspec+tyname+init
Decompose an object declaration into an identifier, a storage class specifier sequence, a type name, and an optional initializer.
Ident+adeclor-to-obj-declor
Compose an identifier and an abstract object declarator into an object declarator.
Ident+adeclor-to-fun-declor
Compose an identifier and an abstract function declarator into a function declarator.
Fun-adeclor-to-params+declor
Decompose an abstract function declarator into a list of parameter declarations and an abstract object declarator.
Param-declon-list-to-ident+tyname-lists
Lift param-declon-to-ident+tyname to lists.
Obj-declor-to-ident+adeclor
Decompose an object declarator into an identifier and an abstract object declarator.
Fun-declor-to-ident+adeclor
Decompose a function declarator into an identifier and an abstract function declarator.
Expr-constp
Check if an expression is constant.
Fundef-to-fun-declon
Function declaration of a function definition.
Param-declon-to-ident+tyname
Decompose a parameter declaration into an identifier and a type name.
Ext-declon-list->fundef-list
Extract from a list of external declarations the list of function definitions, in the same order.
Struct-declon-to-ident+tyname
Decompose a structure declaration into an identifier and a type name.
Unop-nonpointerp
Check if a unary operator does not involve pointers.
Binop-strictp
Check if a binary operator is strict.
Expr-list-constp
Lift expr-constp to lists.
Binop-purep
Check if a binary operator is pure.
Fundef->name
Name of a function in a definition.