Browse Definitions :
Definition

compiler

A compiler is a special program that processes statements written in a particular programming language and turns...

them into machine language or "code" that a computer's processor uses. Typically, a programmer writes language statements in a language such as Pascal or C one line at a time using an editor. The file that is created contains what are called the source statements. The programmer then runs the appropriate language compiler, specifying the name of the file that contains the source statements.

When executing (running), the compiler first parses (or analyzes) all of the language statements syntactically one after the other and then, in one or more successive stages or "passes", builds the output code, making sure that statements that refer to other statements are referred to correctly in the final code. Traditionally, the output of the compilation has been called object code or sometimes an object module . (Note that the term "object" here is not related to object-oriented programming.) The object code is machine code that the processor can execute one instruction at a time.

The Java programming language, a language used in object-oriented programming, introduced the possibility of compiling output (called bytecode ) that can run on any computer system platform for which a Java virtual machine or bytecode interpreter is provided to convert the bytecode into instructions that can be executed by the actual hardware processor. Using this virtual machine, the bytecode can optionally be recompiled at the execution platform by a just-in-time compiler. (See also: Java compiler)

Traditionally in some operating systems, an additional step was required after compilation - that of resolving the relative location of instructions and data when more than one object module was to be run at the same time and they cross-referred to each other's instruction sequences or data. This process was sometimes called linkage editing and the output known as a load module.

A compiler works with what are sometimes called 3GL and higher-level languages. An assembler works on programs written using a processor's assembler language.

See an introductory tutorial on compilers:

This was last updated in September 2016

Continue Reading About compiler

Join the conversation

3 comments

Send me notifications when other members comment.

Please create a username to comment.

Awesome write up and very simple to understand for the audience. Thank you.
Cancel
Nice tutorial
Cancel
I'm Biddle Mcclooney resident at 808 NE 19th St Oklahoma City, I am a single father blessed with 2 daughters. For a while now I have been searching for a genuine loan lender who could help me with a loan as I no longer have a job, all I got were hoodlums who made me trust them and at the end they took my money without giving me any loan, my hope was lost, I got confused and frustrated, it became difficult for my family to feed with a good meal, I never wanted to have anything to do with any loan lending companies on the internet again. Not until I met a Godsent loan lender that changed my life and that of my family Through the help of a fellowship member "a lender with the fear of God in him Mr RAYMOND BRYAN, he was the man that God sent to elevate my family from suffering. At first I thought it wasn’t going to be possible due to my previous experience until I received my loan worth $125,000.00 USD in less then 24hours. So my advise to anyone out there genuinely in need of a loan is to contact Him through this official email:- ( raymondbryanloanfinancefirm@gmail.com )
Cancel

-ADS BY GOOGLE

File Extensions and File Formats

SearchCompliance

  • privacy compliance

    Privacy compliance is a company's accordance with established personal information protection guidelines, specifications or ...

  • data governance policy

    A data governance policy is a documented set of guidelines for ensuring that an organization's data and information assets are ...

  • risk management

    Risk management is the process of identifying, assessing and controlling threats to an organization's capital and earnings.

SearchSecurity

  • juice jacking

    Juice jacking is a form of hacking that compromises a device's USB charging port or charging cable, allowing hackers to break ...

  • DNS attack

    A DNS attack is an exploit in which an attacker takes advantage of vulnerabilities in the domain name system (DNS).

  • Advanced Encryption Standard (AES)

    The Advanced Encryption Standard, or AES, is a symmetric block cipher chosen by the U.S. government to protect classified ...

SearchHealthIT

SearchDisasterRecovery

SearchStorage

  • M.2 SSD

    An M.2 SSD is a solid-state drive (SSD) that conforms to a computer industry specification written for internally mounted storage...

  • RAID (redundant array of independent disks)

    RAID (redundant array of independent disks) is a way of storing the same data in different places on multiple hard disks or ...

  • cache memory

    Cache memory, also called CPU memory, is high-speed static random access memory (SRAM) that a computer microprocessor can access ...

Close