Symbol table: major inherited attribute and major data structure in a compiler Principal operations: – Insert: store the information provided by name declarations when processing these declarations – Lookup: retrieve the information associated to a name when that name is used in the associated code
Exercises Linear equations for the consumption and saving schedule take the general form C=a + bY and S=-a+(1-b)Y, where C, S and Y are consumption, saving and national income respectively. (1) Use the given data to develop specific numerical values for the consumption and saving equations. Write the using these values
1 Equivalence Relations 【Definition】A relation R is defined on a set S if for every pair of elements (a, b), a, b S, a R b is either true or false. If a R b is true, then we say that a is related to b
Defintion: GDP is the total market value of all final goods and services produced by a country. Final versus Intermediate: By \final\, we mean the goods and service that are purchased for final use by purchaser and not for resale or further processing. The meaning intermediate is opposite to final. Value Added: GDP not only reflects the market value of final goods and service, but also reflect the income generated from producing these final goods and service