Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Preprocessor
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{short description|Program that processes input for another program}} {{more citations needed|date=February 2013}} {{Data transformation}} In [[computer science]], a '''preprocessor''' (or '''precompiler''')<ref>{{cite web |url=https://www.ibm.com/docs/zosbasics/com.ibm.zos.zappldev/zappldev_111.htm |title=What is a precompiler?|website=[[IBM]] }}</ref> is a [[Computer program|program]] that processes its input data to produce output that is used as input in another program. The output is said to be a '''preprocessed''' form of the input data, which is often used by some subsequent programs like [[compiler]]s. The amount and kind of processing done depends on the nature of the preprocessor; some preprocessors are only capable of performing relatively simple textual substitutions and [[Macro (computer science)|macro]] expansions, while others have the power of full-fledged [[programming language]]s. A common example from [[computer programming]] is the processing performed on [[source code]] before the next step of compilation. In some [[computer language]]s (e.g., [[C (programming language)|C]] and [[PL/I (programming language)|PL/I]]) there is a phase of [[compiler|translation]] known as ''preprocessing''. It can also include macro processing, file inclusion and language extensions.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)