A tiny c/c++ preprocessor Library designed as a base interface for higher-level scripting languages
It implements everything from the C11 Standard.
TPP is written in c, but offers a c++ api for convenience.
TPP Is able, to generate 25MB of preprocessed code in 8 seconds

Supported compiler extensions are:
- __COUNTER__
- __has_include
- __BASE_FILE__
- __INCLUDE_LEVEL__
- Multi-char constants
- #pragma once
- #include_next
- #warning
- Oh who am I kidding; this supports pretty much everything. - If a pp-extension isn't supported and isn't on the todo-list, tell me about it

New extensions include:
- __TPP_COUNTER
- __TPP_RANDOM
- __TPP_EVAL
- __TPP_LOAD_FILE

Features

  • C11 standard conforming
  • c/c++ API
  • Support for most preprocessor extensions
  • New extensions, like __TPP_EVAL

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

zlib/libpng License

Follow TPP

TPP Web Site

nel_h2
Build Securely on AWS with Proven Frameworks Icon
Build Securely on AWS with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download Now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of TPP!

Additional Project Details

Languages

English

Intended Audience

Developers

Programming Language

C, C++

Related Categories

C++ Libraries, C Libraries

Registered

2015-11-11