What is the purpose of breaking the compilation process into

What is the purpose of breaking the compilation process into 2 stages (i.e. what does each stage do? What is its value)?

Solution

The basic reason is first before converting high level language into byte code it is necessary to allocate the memory to all the variables in the code. because if this is not done in advance then how will the data structure of the code will store values and also the preprocessing also require to find the specific stored memory locations of each variable to find out at which memory location each value has to be stored.

Th next stage is to convert the memory allocated variables which is meaningful to the hardware and the operating system to do the asigned fucntions.

What is the purpose of breaking the compilation process into 2 stages (i.e. what does each stage do? What is its value)?SolutionThe basic reason is first before

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site