Compiler, Interpreter and Assembler
Hello Programmers,
every programmer must know about
Compiler, Interpreter and Assembler
as a programmer if we know programming languages, we can't interact with computer directly becauase computer understand Binary Language. In order to communicate with computer we required mediator (translator) between computer and we human . the programme gives instruction in programming language which he knows, then translator convert it into machine language according to instruction.
Translator:
It is System Software( it is nothing but program which it design either to run hardware or our application program) which is use to convert programming language code into machine,
Translator classified into three types
1. Compiler
Compiler is system software which is use to convert programming language instruction into binary language in single step.
i.e when you compile your program compiler check all instruction of a program and generate machine code for that instruction which are syntactically correct, if it is not in correct syntax it will store it somewhere to report as a error at the last of compilation process,
NOTE that compiler just convert the code, compiler is unaware of the logic of the instruction and program.
a) it is fast with high performance.
2.Interpreter
Interpreter is system software which is use to convert programming language instruction into binary language, but in step by step.
i.e when you interpret your program, interpreter check rather it is in correct syntax or not, if it is, it will convert it into machine code, and if it is not correct syntax it will report error that time only and stop the interpretation process. again just like compiler interpreter also unaware of the logic of the instruction and program.
a) It is slower
3.Assembler
Assembler is System software which is use to convert the Assembly language instruction into machine language.
every programmer must know about
Compiler, Interpreter and Assembler
as a programmer if we know programming languages, we can't interact with computer directly becauase computer understand Binary Language. In order to communicate with computer we required mediator (translator) between computer and we human . the programme gives instruction in programming language which he knows, then translator convert it into machine language according to instruction.
Translator:
It is System Software( it is nothing but program which it design either to run hardware or our application program) which is use to convert programming language code into machine,
Translator classified into three types
1. Compiler
Compiler is system software which is use to convert programming language instruction into binary language in single step.
i.e when you compile your program compiler check all instruction of a program and generate machine code for that instruction which are syntactically correct, if it is not in correct syntax it will store it somewhere to report as a error at the last of compilation process,
NOTE that compiler just convert the code, compiler is unaware of the logic of the instruction and program.
a) it is fast with high performance.
2.Interpreter
Interpreter is system software which is use to convert programming language instruction into binary language, but in step by step.
i.e when you interpret your program, interpreter check rather it is in correct syntax or not, if it is, it will convert it into machine code, and if it is not correct syntax it will report error that time only and stop the interpretation process. again just like compiler interpreter also unaware of the logic of the instruction and program.
a) It is slower
3.Assembler
Assembler is System software which is use to convert the Assembly language instruction into machine language.
Comments
Post a Comment