The allocation and recovery of records stored in a heap

Explain and find the left, right and follow sets for all non-terminals in the grammar
March 22, 2023
Describe one possible structure (e.g. ELF) of an object file
March 22, 2023

The allocation and recovery of records stored in a heap

2000 Paper 3 Question 3
Compiler Construction
With reference to a strictly-typed block-structured programming language, write
brief notes on the following topics:
(a) the allocation and recovery of records stored in a heap
(b) the implementation of variables of union type
(c) the allocation of arrays with non-manifest bounds
(d) the implementation of labels and GOTO commands
[5 marks each]