Giter Site home page Giter Site logo

fanf2 / unifdef Goto Github PK

View Code? Open in Web Editor NEW
159.0 10.0 43.0 592 KB

selectively remove C preprocessor conditionals

Home Page: http://dotat.at/prog/unifdef

License: Other

C 75.03% Shell 9.51% C++ 0.04% Makefile 1.20% HTML 2.39% Perl 0.82% Roff 11.01%

unifdef's Introduction

unifdef - selectively remove C preprocessor conditionals

Written by Tony Finch <[email protected]> - http://dotat.at/prog/unifdef/

The unifdef utility selectively processes conditional C preprocessor
#if and #ifdef directives. It removes from a file both the directives
and the additional text that they delimit, while otherwise leaving the
file alone.

Please see the INSTALL file for installation instructions.

Pre-formatted documentation can be found in unifdef.txt

You can download the latest release tar and zip files from:
	http://dotat.at/prog/unifdef

Note: GitHub's "releases" are incomplete and broken, but I am not
able to redrect them to the right place.

You can clone the development repository using:
	git clone http://dotat.at/git/unifdef.git

I also maintain a copy at http://github.com/fanf2/unifdef
(Warning: GitHub's zip download is incomplete and unusable.)

Please send bug reports and patches to me via email to the
address above. Unless you state otherwise, I will assume that
any contributions are under the two-clause BSD licence. See
the COPYING file for details.

Thanks to the following people for their contributions:

Bob Proulx <[email protected]>
 - test suite

Jonathan Nieder <[email protected]>
 - bug fixes, improved unifdefall

Anders H Kaseorg <[email protected]>
 - bug fixes and other improvements

Ruediger Meier <[email protected]>
 - build and portability cleanups

Ben Hutchings at Solarflare Communications
 - lenient evaluation of && and ||

Steve Underwood <[email protected]>
 - read #define and #undef directives from a file

Brian Ginsbach <[email protected]>
 - improved expression evaluator

Other contributions are listed in the Changelog.

- end -

unifdef's People

Contributors

bginsbach avatar fanf2 avatar rudimeier avatar zenju avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.