Page 16 - COMPUTER PROGRAMMING
P. 16

5. LANGUAGE TRANSLATORS






     A  translator  is  a  programming  language  processor  that

     converts  a  computer  program  from  one  language  to

     another.    It  takes  a  program  written  in  source  code  and

     converts it into machine code.  It discovers and identifies the

     error during translation.



     Purpose of Translator

     It  translates  high-level  language  program  into  a  machine

     language program that the central processing unit (CPU) can

     understand.  It also detects errors in the program.













     All of the above work in some way towards getting a high-

     level  programming  language  translated  into  machine  code

     that  the  central  processing  unit  (CPU)  can  understand.

     Examples of CPUs include those made by Intel (e.g., x86),

     AMD (e.g., Athlon APU), NXP (e.g., PowerPC), and many

     others.  It’s  important  to  note  that  all  translators,  compilers,

     interpreters and assemblers are programs themselves.



                                                                                                 16
   11   12   13   14   15   16   17   18   19   20   21