Computer Science, asked by devipriya5933, 1 year ago

Type checking and type conversion in compiler design

Answers

Answered by ervislinazuaje30
0

Answer:

Explanation:

In computing, a compiler is a type of translator that transforms an entire program from one programming language (called source code) to another.1 Usually the target language is machine code, although it can also be translated into bytecode or text. Unlike interpreters, compilers gather various elements or fragments into a single unit (an executable program or a library), which can be stored and reused.

Types of compilers:  

1)Cross Compilers: generate code for a different system than the one they are runni)ng.

2)Optimizer compilers: they make changes to the code to improve its efficiency, but maintaining the functionality of the original program.

3)Single-pass compilers: generate the machine code from a single reading of the source code.

4)Multi-pass compilers: need to read the source code several times before they can produce the machine code.

5)JIT (just in time) compilers: they are part of an interpreter and compile parts of the code as needed.

Similar questions