Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Language processors


Published on

Published in: Technology
  • Be the first to comment

Language processors

  1. 1. ● A program that performs tasks, such as translating and interpreting, required for processing a specified programming language.
  2. 2.● Provides facility to write, store and manage code.● Provides other tools for programming like compiler, debugger, linker etc.
  3. 3.● Checks the code line by line to find syntax errors.● If code is error free translate program into machine language (object code).● Object code is machine dependent.
  4. 4. ● Interpret one instruction at a time. ● It checks, translate and execute the instruction. ● Does not produce object code. Input OutputHigh level Result oflanguage Interpreter programprogram execution
  5. 5. ● Translates the assembly language program into machine code.● It – ○ Reserves space for data ○ Replaces he mnemonic codes by machine code ○ Replaces symbolic addresses by numeric addresses ○ Determines machine representation of constants Input Output Assembly Machine language Assembler language program program
  6. 6. ● Resolves the relative location of instructions and data● Links libraries with the object and put them together as executable.
  7. 7. ● Inbuilt component of OS.● Loads program into main memory and prepare them for execution.
  8. 8. ● Used to find logical errors● Allows you to stop program at any step of execution, check and change the values of different variables.
  9. 9. ● The repeated code (for e.g., UDF) of program is controlled by macro processor.● It referred each repeated set of code by a name, and replace set of code when that name occurs in a program.