1.2 Translation Process

A programming language translator takes a source code written in one language and generates an output code in the target language, for later execution on some execution agent. Sometimes, the output is further processed by another translator to a second target language (see Fig. 1.2).

 

What does a translator do?

 

Fig. 1.2 What does a translator do?

 

Note: One important requirement – the algorithm specified by the source code should remain intact across the translation, i.e. the target code must specify exactly the same algorithm.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.179.85