Popular Posts

28 Mar 2011

Language Processors

Language Processors


      Language Processors is a classification of System softwares.Usually programmers prefer to write programs in one of the High Level Languages (HLL) because of its simplicity.But computer understands only machine languages (Binary Language).So it is quite necessary to process programs written in HLL and translate it to language which understood by the computer.The system programs which perform this job are language processors .The different language processors are given below :

1) Assembler 

          This language processor converts programs written in assembly language into machine language

2) Interpreter 

          This language processor converts a HLL program into machine language by converting and executing it line by line.If there is any error in one line, it reports and execution of the program is terminated(stopped) at the sane time.We can resume the execution of the program only after rectification of the errors.For errors, debugging interpreters is very much useful. 

3) Compiler 

          A program called compiler translate program written in HLL into machine language.They also provide a list of source program statements and error message along with the line number.If there are no syntax errors in the program, computers generate objects files.Translating using compiler is called compilation.If no errors it automatically run the program it self.

No comments: