answersLogoWhite

0

What is role of compiler?

Updated: 8/11/2023
User Avatar

Wiki User

11y ago

Best Answer

It coverts your source code into machine code so the computer can execute it.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago

The role of a compiler is to analyse and convert source code into object code.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is role of compiler?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is the role of data structure in compiler design?

The role of the data structure in compiler designer is to take an input of a program written in another language and produce an output in another language. It also performs error detection.


How many types of compiler naming in list?

cross compiler . hybird compiler . post compiler. ideal compiler. intelligence 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 is the difference between a native compiler and a cross compiler?

A native compiler is one that compiles programs for the same architecture or operating system that it is running on. For instance, a compiler running on an x86 processor and creating x86 binaries. A cross-compiler is one that compiles binaries for architectures other than its own, such as compiling SPARC binaries on a PowerPC processor.A cross compiler executes in one environment and generates code for another. A "native compiler" generates code for its own execution environment. For example, Microsoft Visual Studio includes a native compiler. It is used on the Windows platform to create applications that are run on the windows platform. A cross compiler could also execute on the Windows operating system, but possibly generate code aimed at a different platform. Many embedded devices, such as mobile phones or wasching machines, are programed in such way. Compilers generating cross-platform hyper code such as compilers for Java or any of the .NET languages fall somewhere in between these two basic compiler categories. Their nature depends on the exact use-case, and the angle under which you look at those when categorizing.


What are the responsibilities of a compiler?

What are the responsibities of a compiler

Related questions

What is the role of the JIT compiler in NET Framework?

JIT compiler is responsible for compiling the code before execution. And there are many types.


What is compiler hints?

compiler hints is a assurance to detecter of the result path.it creates a role of identifier to check the program when the program is executing.


What is the role of data structure in compiler design?

The role of the data structure in compiler designer is to take an input of a program written in another language and produce an output in another language. It also performs error detection.


How many types of compiler naming in list?

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


The role of automata theory in compiler construction?

Lexical analysis is the first state of the Compiler design, in this state human typed programs are broken in to tokens and then those tokens are recognized through the Automata theory. For more details please refer the book, Modern Compiler designing in C


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 is the difference between a native compiler and a cross compiler?

A native compiler is one that compiles programs for the same architecture or operating system that it is running on. For instance, a compiler running on an x86 processor and creating x86 binaries. A cross-compiler is one that compiles binaries for architectures other than its own, such as compiling SPARC binaries on a PowerPC processor.A cross compiler executes in one environment and generates code for another. A "native compiler" generates code for its own execution environment. For example, Microsoft Visual Studio includes a native compiler. It is used on the Windows platform to create applications that are run on the windows platform. A cross compiler could also execute on the Windows operating system, but possibly generate code aimed at a different platform. Many embedded devices, such as mobile phones or wasching machines, are programed in such way. Compilers generating cross-platform hyper code such as compilers for Java or any of the .NET languages fall somewhere in between these two basic compiler categories. Their nature depends on the exact use-case, and the angle under which you look at those when categorizing.


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.