2007 Paper 6 Question 6 Compiler Construction (a) Garbage Collection. (i) Explain how it is possible to “leak memory” using a reference counting garbage collector. [3 […]
2007 Paper 5 Question 6 Compiler Construction (a) Describe how a stack is used to implement procedures and functions. [6 marks] (b) Suppose a language allows […]
2008 Paper 6 Question 6 Compiler Construction (a) Languages like Lisp, Prolog and Python are said to be dynamically typed. Explain this concept and its implications […]
2008 Paper 5 Question 6 Compiler Construction Consider the following grammar for expressions (where Id is a terminal symbol representing an identifier resulting from lexical analysis): […]