|Did you know ...||Search Documentation:|
|gpp.pl -- Use XSB gpp preprocessor|
This library enables using the XSB gpp preprocessor on .P files.
gpp program is not provided with SWI-Prolog. If you need
this compatibility get it from XSB. The XSB sources provide
simple stand alone C file that can be compiled with any C compiler. The
gpp program must be installed in a directory accessible through the
PATH environment variable. The preprocessor is enabled using
Running code through gpp can be useful for several reasons:
There are also good reasons not to use a preprocessor:
#include fileis used it will report the wrong file for errors. In addition, make/0 will not be able to pick up that an included file has changed and thus the main file needs to be reloaded.
gppon the PATH environment variable.
-P -m -nostdinc -DSWI_PROLOG