Describe the parts/components of a language processing system and describe the role each component plays in the compilation process
What is the output of each part of the language processing system
We know that the computer is the assembly of hardware and software. The hardware knows a language that is hard for us to grasp, we write the program in high level language that is much and less complicated and which maintains it's thoughts.
High level language : It includes the pre-processor directives which is defined by #define or #include which is called HLL.
Pre-processor : It performs file inclusion, augmentation and micro-processing.
Assembly language : It is neither in binary form nor in high level.
Assembler : The output of assembler is called object file. It translate the assembly language into the machine language.
Interpreter : It converts high level language into the low level machine language.
Relocatable machine code: It can be loaded and run at any point.
Loader / linker : It converts the relocatable code into the absolute code and tries to run the program resulting into the running program.
Comments
Leave a comment