answersLogoWhite

0

COMPILER : It is an "INTERPRETER" which takes the instruction from the user(program/any thing) and converts onto the systems language('0' and '1' binary language) for doing calculations according to that instructions and produces the final output to the user in general english. Annapurna. [stated most simply...] A compiler is a program that takes the program-writers' code, called "Source Code", and forms it into a for the computer understands. That said, there are 'programs', more often called scripts or batch code which is human-readable that the computer can use. While scripting languages can be very powerful, they cannot make full use of a computers' abilities. There are many languages that one can use to create a computer program. C+, C++, COBOL, PASCAL, FORTRAN (some old ones there...) Check out this link for more info. http://www.personal.kent.edu/~rmuhamma/Compilers/compiler.html A compiler is a computer program that translates a computer program written in one computer language (called the source language) into an equivalent program written in another computer language (called the output, object, or target language). A compiler is a computer program (or set of programs) that transforms source code written in a computer language (the source language) into another computer language (the target language, often having a binary form known as object code). The most common reason for wanting to transform source code is to create an executable program.

The name "compiler" is primarily used for programs that translate source code from a high-level programming language to a lower level language (e.g., assembly language or machine code). A program that translates from a low level language to a higher level one is a decompiler. A program that translates between high-level languages is usually called a language translator, source to source translator, or language converter. A language rewriter is usually a program that translates the form of expressions without a change of language.

A compiler is likely to perform many or all of the following operations: lexical analysis, preprocessing, parsing, semantic analysis, code generation, and code optimization.

Program faults caused by incorrect compiler behavior can be very difficult to track down and work around and compiler implementors invest a lot of time ensuring the correctness of their software.

The term compiler-compiler is sometimes used to refer to a parser generator, a tool often used to help create a compiler. A compiler is a software tool that takes raw source code and converts (or compiles) it into a machine language ready for linking and loading. The original sequence is usually called the source code and the output called object code. Commonly the output has a form suitable for processing by other programs (e.g., a linker), but it may be a human-readable text file. A compiler does the translation all at once. It produces a complete machine language program that can then be executed. e.g. Java uses a compiler to translate java programs into Java Bytecode, which is a machine language for the imaginary Java Virtual Machine. Although bytecode is similar to machine language, it is not the machine language of any actual computer. Compiled code does the work much more efficiently, because it produces a complete machine language program, which can then be executed. They can spot syntax errors while the program is being compiled (i.e. you are informed of any grammatical errors before you try to run the program). However, this does not mean that a program that compiles correctly is error-free! ANSWER: compiler is a software tool that converts a high level language into a machine level language.

When a programmer writes code, the code is written in text. If might look like this:

my_variable = get_some_input()

my_other_variable = get_some_input()

sum = my_variable + my_other_variable

put_on_screen(sum)

However, a computer cannot understand text or execute it as a program. What a compiler does it compile the text into bytecode, which is binary data that a computer can execute. Compiled languages are programming languages such as C, C++, Java, VisualBasic, etc., that use a compiler

One can also use an interpreter, which is similar to a compiler, except it translates the text as it is run, rather than beforehand. Interpreted languages, such as Ruby, Python, and Perl, are usually more flexible, but are slower because they are translated to machine language as they are run.

User Avatar

Wiki User

∙ 16y ago
User Avatar

What else can I help you with?

Related Questions

How many types of compiler naming in list?

cross compiler . hybird compiler . post compiler. ideal compiler. intelligence compiler.


What is DML Compiler?

What is difference between Compiler and DML Compiler


What are the difference between a compiler design and a compiler?

In Compiler there is no design word ,whereas in compiler design there is design word


What are the responsibilities of a compiler?

What are the responsibities of a compiler


What are the four types of grammars used in compiler?

-Single pass compiler -Multi pass compiler -Cross compiler -Optimizing compiler


It is possible to build a C compiler on top of a C compiler?

It is possible to build a C compiler on top of a C compiler. From the directory, run the shell script.


Why you call as cousins of compiler?

"Cousins" of the compiler are those things related to the compiler, and may or may not be part of the compiler. This includes: preprocessors, assemblers, linkers, and interpreters.


Are languages and compilers application softwares?

No. A compiler is a system software. An application can be created using a language and a compiler. A language is what you write the software with.No. A compiler is a system software. An application can be created using a language and a compiler. A language is what you write the software with.No. A compiler is a system software. An application can be created using a language and a compiler. A language is what you write the software with.No. A compiler is a system software. An application can be created using a language and a compiler. A language is what you write the software with.No. A compiler is a system software. An application can be created using a language and a compiler. A language is what you write the software with.No. A compiler is a system software. An application can be created using a language and a compiler. A language is what you write the software with.No. A compiler is a system software. An application can be created using a language and a compiler. A language is what you write the software with.No. A compiler is a system software. An application can be created using a language and a compiler. A language is what you write the software with.No. A compiler is a system software. An application can be created using a language and a compiler. A language is what you write the software with.No. A compiler is a system software. An application can be created using a language and a compiler. A language is what you write the software with.No. A compiler is a system software. An application can be created using a language and a compiler. A language is what you write the software with.


Whether MS VC is one pass compiler or multi pass compiler?

one pass compiler


What is 16 bit compiler?

Quite simply, a 16-bit compiler is a compiler for a 16-bit machine.


PASCAL compiler is written in which language?

Which Pascal compiler do you mean? Pascal compiler can be written in Pascal, of course.


Why do you need compilers?

we need compiler to run the programme. compiler will check the error in the problem. compiler can check the error with the help of run time compiler. they can be static or dynamically.

Trending Questions
A typical transfer rate for a fixed head device is 0.00094 ms per byte If one complete revolution takes 16.8 ms how long would it take to read a block of 10 records? When an r22 air conditioning system is installed are we required to replace cooling pipe that runs inside the walls? How bar code reader update the database automatically? Why does an 80 pound bag of concrete only weigh around 67 pounds.? Write a Program for Array implementation of queue and stack using exception handling.? What is queue discipline? What are the different data structure used in pass 1 assembler? How do you convert given number of days into month in java? How dc supply is given to transformer used in push pull amplifiers? What is a description of being a plumber? How do you determine capacitor's condition using multimeter for small capacitance? Can you think of iventions that have had unintended results or even results contrary to the original purpose of the invention? Darren is trying to count the number of bacteria on a piece of bread with a magnifying glass What is a likely source of error in this experiment? How can write a c plus plus program to sort an integer array and name array using function overloading use dynamic memory allocation for both the array? What is field signal? What is used to turn on a generator? What is cut off for ghati in 2010? What are examples of technology these are the answers you can choose out of a laptop computer a bridge a microscope or all of the above? Which term describes the amouunt of energy people use in the daily lives? What is the largest hex value that can move into a 16-bit register?