• 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
            • Disambiguator
            • Abstract-syntax
            • Parser
            • Validator
            • Printer
            • Formalized-subset
            • Mapping-to-language-definition
            • Input-files
            • Defpred
            • Output-files
            • Abstract-syntax-operations
            • Validation-information
            • Implementation-environments
            • Concrete-syntax
            • Unambiguity
            • Ascii-identifiers
            • Preprocessing
              • Preprocess-file
              • Preprocess-files
            • Abstraction-mapping
          • Atc
          • 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
  • Syntax-for-tools

Preprocessing

An interface to C preprocessors.

A collection of tools to invoke an external C preprocessor.

These tools appeal to a configurable C preprocessor, and the prerequisite dependencies may not be present on all systems. For books which use the default preprocessor "cpp", certification may be controlled with the build::uses-cpp build::cert_param flag.

The community books Makefile will autodetect whether "cpp" is available, and exclude books appropriately. Certification of such books may be suppressed by manually undefining the Makefile variable "OS_HAS_CPP". E.g., to run a regression excluding books calling cpp:

OS_HAS_CPP= make regression

Further build::cert_param flags may need to be defined if using a C preprocessor other than "cpp".

Subtopics

Preprocess-file
Preprocess a single file.
Preprocess-files
Preprocess a set of files.