preprocessor


Also found in: Dictionary, Wikipedia.

preprocessor

[¦prē′prä‚ses·ər]
(computer science)
A program that converts data into a format suitable for computer processing.
McGraw-Hill Dictionary of Scientific & Technical Terms, 6E, Copyright © 2003 by The McGraw-Hill Companies, Inc.

preprocessor

(programming)
A program that transforms input data in some way before it is read by the main program. In the case of a compiler, the input is source code. The main advantage of using a preprocessor is that it is possible to change the specification of the input data without changing the main program. The separation can also help to make the system's overall behaviour easier to understand. The disadvantage is that performance may be reduced by the extra input and output performed between the two programs.

For example, the C preprocessor, cpp, handles textual macro substitution (it acts as a "macro preprocessor"), conditional compilation and inclusion of other files.

A preprocessor may be used to transform a program into a simpler language, e.g. to transform C++ into C.
This article is provided by FOLDOC - Free Online Dictionary of Computing (foldoc.org)
References in periodicals archive ?
This solution requires some more intelligence in the preprocessor to make p behave as if it were a pointer of type S_Interface*.
The preprocessor allows easy preparation of the finite element model through geometry import or creation and assignment of analysis conditions.
In addition, we use the keyword implements to tell the preprocessor which set of methods implement a particular interface.
Improved Data Quality: Rejected segments can now be easily edited or fixed using the Kantan Preprocessor rule editor
Load preprocessor takes as its inputs Fcl, Scl and Tcl, and returns [Fcl.sup.1], [Scl.sup.1] and [Tcl.sup.1] which respectively represent the load trend of Fcl, Scl and Tcl.
This attack is easily detected by the Snort engine's HTTP Inspect preprocessor, which has an option to block oversized HTTP headers.
It can be seen that in all cases the performance of the AdaBoost algorithm has improved after the multiple preprocessor based data space or feature space fusions.
The FuturePlus Systems FS4405 PCIe Serial Protocol Preprocessor is a good example.
He also covers advanced features such as the documentation-generation tool, threading, and the Camlp4 preprocessor. Examples focus on OCaml-driven applications capable of performing complex log-file processing, web crawling, filtering spam, and broadcasting audio over a network using the Shoutcast protocol.
Changchun Railway recently started using a new finite-element analysis preprocessor to reduce the time spent on meshing models prior to analysis, he said.