This is the source code of NAP. NAP is a preprocessor
which has been developed especially for the ACE
programming language.
Features : - processing of the following preprocessor
commands: IF, ELSE, ELIF, ENDIF, INCLUDE,
DEFINE, IFDEF, IFNDEF, UNDEF
- removal of C comments, e.g. /* */, AND
ACE comments, e.g. { } and '.
- removal of unused structures (thus gaining
memory during compilation)
Changes : - sets exit code correctly
- minor optimizations
*N*O*T*E*
This will be the last version of NAP. I decided to stop
that project (even as there are some bugs) as there is
no feedback. NAP is cardware for over a year now but so
far I never received a postcard. I interprete this as a
sign that NAP is not used by anybody ;-(
Therefore I decided to put NAP under the GNU Public
License:
NAP 2.03, a preprocessor for ACE
Copyright (C) 1997/98 by Daniel Seifert
contact me at: dseifert@berlin.sireco.net
Daniel Seifert
Elsenborner Weg 25
12621 Berlin
GERMANY
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|