• 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
        • Representation
        • Transformation-tools
          • Simpadd0
          • Deftrans
          • Splitgso
          • Constant-propagation
          • Split-fn
          • Copy-fn
          • Specialize
          • Split-all-gso
          • Rename
          • Utilities
            • Free-vars
            • Call-graphs
            • Fresh-ident-utility
              • Fresh-numbered-string-wrt
              • Fresh-numbered-string-wrt0
              • Transunit-ensemble-fresh-ident
              • Fresh-idents
              • Fresh-string-wrt
              • Fresh-ident
              • Make-numbered-string
              • Map-ident->unwrap
            • Collect-idents
        • 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
  • Utilities

Fresh-ident-utility

A utility to create a globally fresh C identifier.

This utility generates fresh new identifiers using a base identifier and adding a numeric suffix. It is similar to ACL2::numbered-names, but operating over C ASTs instead of the ACL2 world.

Fresh identifiers are created with respect to a "blacklist" representing identifiers in use. A blacklist may be obtained using the collect-idents utility.

Subtopics

Fresh-numbered-string-wrt
Fresh-numbered-string-wrt0
Transunit-ensemble-fresh-ident
Fresh-idents
Fresh-string-wrt
Fresh-ident
Make-numbered-string
Map-ident->unwrap