In Chapter 3 and 4 different analyzing methods have been introduced. All these analyzers (lexical as well as syntax analyzers) are not concerned with the semantics or the meaning of given programs. A compiler has to check not only the syntactical correctness of a given source code, but also whether the semantics correspond to that of the programming language. This means, that semantic analysis has to guarantee that allcontext-sensitive rules of the programming language are considered.
KeywordsAuxiliary Variable Code Fragment Semantic Action Type Check Abstract Syntax Tree
Unable to display preview. Download preview PDF.