Copyright © Philip M. Parker, INSEAD. Terms of Use.

PREPROCESSOR

Specialty Definition: PREPROCESSOR

DomainDefinition

Computing

Preprocessor A program invoked by various compilers to process code before compilation. For example, the C preprocessor, cpp, handles textual macro substitution, 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. (1994-11-09). Source: The Free On-line Dictionary of Computing.

Source: compiled by the editor from various references; see credits.

Top     

Specialty Definition: Preprocessor

(From Wikipedia, the free Encyclopedia)

A preprocessor is a program that takes text and performs lexical conversions on it. The conversions may include macro substitution, conditional inclusion, and inclusion of other files.

The C programming language has a preprocessor that performs the following transformations:

  1. Replaces trigraphs with equivalents.
  2. Concatenates source lines.
  3. Replaces comments with whitespace.
  4. Reacts to lines starting with an octothorp (#), performing macro substitution, file inclusion, conditional inclusion, and other transformations.

Overuse of the C preprocessor is considered bad style, especially in C++. Stroustrup introduced features such as templates into C++ in an attempt to make the C preprocessor irrelevant. However, his file inclusion alternative was never seriously considered as it was a poor imitation of the C preprocessor's file inclusion mechanism.

Other preprocessors include m4 and Oracle Pro*C. The m4 preprocessor is general-purpose; Oracle Pro*C converts embedded PL/SQL into C.

Preprocessing can be quite cumbersome in incremental parsing or incremental lexical analysis because changes to preprocessing rules can affect the entire text to be preprocessed.

C Example

A typical example in C is:

\r
include \r
\r
int main (void)\r
{\r
printf("Hello, world!\
");\r
return 0;\r
}\r
The preprocessor replaces the line #include <stdio.h> with the system header file of that name, which facilitates use of the printf() function.

Source: adapted by the editor from Wikipedia, the free encyclopedia under a copyleft GNU Free Documentation License (GFDL) from the article "Preprocessor."

Top     

Crosswords: PREPROCESSOR

Specialty definitions using "PREPROCESSOR": @BeginAda, Alflcfortran.h, Classic-Ada, cpp, C-RefineDecus cpp, DETABExtended Fortran LanguageFlex 2InnovAdaMADTRAN, MMSP, MORTRANObjective CPDEL, PLANS, PSMLRATional FortranSIMPAS, SIMPL/I, SIMSCRIPT, Simulation Language for Alternative ModelingTbl. (references)

Top     

Commercial Usage: PREPROCESSOR

DomainTitle

Books

  • Simulation of Thermal Systems: A Modular Program With an Interactive Preprocessor (Emgp 3) (reference)

    (more book examples)

Source: compiled by the editor from various references; see credits.

Top     

Expression: PREPROCESSOR

Expression using "PREPROCESSOR": C preprocessor. Additional references.

Source: compiled by the editor from various references; see credits.

Top     

Frequency of Internet Keywords: PREPROCESSOR

The following statistics estimate the number of searches per day across the major English-language search engines as identified by various trade publications. Hyperlinks lead to commercial use of the expression at Amazon.com.
 
ExpressionFrequency
per Day

hypertext php preprocessor

10

c preprocessor

9

directive preprocessor

3

function function gcc macro name preprocessor

3

preprocessor

2
Source: compiled by the editor from various references; see credits.

Top     

Modern Translation: PREPROCESSOR

Language Translations for "PREPROCESSOR"; alternative meanings/domain in parentheses.

Chinese 

  

前处理器. (various references)

   

Japanese Kanji 

  

プラント輸出 (angrily, export of manufacturing plant, in a huff, in anger, plait, planner, planning, pleat, pleated skirt, pre-, pre-amplifier, preference, prefix, prerecording, preset, pretty, pretty-print, priest, prima ballerina, prima donna, primitive, primitive art, prince, Prince Edward Island, prince melon, princess, princess coat, principle, printer, prism, pudding). (various references)

   

Japanese Katakana 

  

プリプロセッサ . (various references)

   

Pig Latin

  

eprocessorpray

   

Russian 

  

препроцессор. (various references)

   

Swedish

  

hjälpprocessor (coprocessor). (various references)

Source: compiled by the editor from various translation references.

Top     

Derivations & Misspellings: PREPROCESSOR

Derivations

Words beginning with "PREPROCESSOR": preprocessors. (additional references)


Misspellings

"PREPROCESSOR" is suggested in spellcheckers for the following: Reprocessor, reprocessors. (additional references)

Source: compiled by the editor, based on several corpora (additional references).

Top     

Anagrams: PREPROCESSOR

Scrabble® Enable2K-Verified Anagrams

Words within the letters "c-e-e-o-o-p-p-r-r-r-s-s"

-1 letter: corepressor.

-2 letters: preprocess.

-3 letters: oppressor, prescores, processor, proposers, reopposes, repressor, reprocess, sorcerers.

-4 letters: croppers, opposers, prescore, properer, proposer, proposes, prospers, reoppose, reposers, rescores, scoopers, sorcerer.

-5 letters: coopers, coppers, corpses, cropper, crosser, operose, opposer, opposes, oppress, precess, presser, pressor, process, propers, propose, prosers, prosper, recross, reposer, reposes, repress, rescore, roosers, roscoes, scooper, scorers, scroops.

 Words containing the letters "c-e-e-o-o-p-p-r-r-r-s-s"
 

+1 letter: preprocessors.

 

+5 letters: overprescriptions.

Source: compiled by the editor from various references; see credits.

SCRABBLE® is a registered trademark. All intellectual property rights in and to the game are owned in the U.S.A and Canada by Hasbro Inc., and throughout the rest of the world by J.W. Spear & Sons Limited of Maidenhead, Berkshire, England, a subsidiary of Mattel Inc. Mattel and Spear are not affiliated with Hasbro.

Top     



INDEX

1. Crosswords
2. Usage: Commercial
3. Expressions
4. Expressions: Internet
5. Translations: Modern
6. Derivations
7. Anagrams
8. Bibliography


  

Copyright © Philip M. Parker, INSEAD. Terms of Use.