1 / 5

Interpreters and Compilers

Interpreters and Compilers. By Louis Patience. Interpreter. An interpreter takes each line of high level language and translates it into machine code so the processor can understand it and carry out that instruction. It then works its way through the program one line at a time in this way

denna
Download Presentation

Interpreters and Compilers

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Interpreters and Compilers By Louis Patience

  2. Interpreter • An interpreter takes each line of high level language and translates it into machine code so the processor can understand it and carry out that instruction. • It then works its way through the program one line at a time in this way • An interpreter is basically a translator, it translates high level languages to machine code and it does so at a few sentences at a time.

  3. Interpreter – Advantages & Disadvantages

  4. Compiler • A compiler takes your high level language and translates the whole program into machine code once. • The machine code can then be saved and kept and does not need to be translated before it is run. • This is an example of .exe file. • Software that you buy, such as a game or an application, will have to be compiled into machine code before being distributed and sold.

  5. Compiler – Advantages & Disadvantages

More Related