Language Processing System
Before continue reading this post if you have not read my previous post please read it first to get a better understanding of the concepts in a order.
Link of my previous post:
Lets now see about Language Processing System,
The steps undergone by a source code to get converted in to machine code is as shown in below diagram.
Preprocessor :
- It is considered to be a part of the compiler.
- It deals with macro processing ,file inclusion, augmentation etc..
- In c program before writing a program we usually include library files in preprocessor it includes these library files with the source code.this is called file inclusion.
- we will discuss about macro processing in upcoming posts.
- As you know that compiler translates a source code into target code.
- see our previous post about compiler to get better knowledge about compilers(link:https://iamafutureprogrammer.blogspot.com/2019/05/what-is-compiler-and-interpreter.html)
- An Assembler translate assembly language program to machine code.
- Assembly language consist of instruction sets to deal with memory directly.
- Linker is a computer program that links and merges various object files together in order to make an executable file.
- Loader is a part of operating system and is responsible for loading executable files into memory and execute them.