The compiler converts source code (the stuff the programmer wrote and is human readable) and converts it to machine code that the computers CPU can understand. The conversion is used to make an executable program.
The compiler can also make libraries but libraries are not executable by them selves.
1.Lexical analysis
2.Syntactic analysis
3.Semantic analysis
4.Intermediate code generation
5.Register allocation
6.Machine code generation
7.Assembly and Linking
A compiler is used to convert a program in source code (the human-readable form, written by a program) to the equivalent in machine language (which is much more difficult to understand for humans).
Compiler is basically a translator from a specific programming language into machine understandable language.
For more information refer to http://en.wikipedia.org/wiki/Compiler.
It coverts your source code into machine code so the computer can execute it.
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.
cross compiler . hybird compiler . post compiler. ideal compiler. intelligence compiler.
In Compiler there is no design word ,whereas in compiler design there is design word
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.
It coverts your source code into machine code so the computer can execute it.
JIT compiler is responsible for compiling the code before execution. And there are many types.
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.
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.
cross compiler . hybird compiler . post compiler. ideal compiler. intelligence compiler.
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 difference between Compiler and DML Compiler
In Compiler there is no design word ,whereas in compiler design there is design word
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 responsibities of a 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. From the directory, run the shell script.