98 Semantic Analysis Compiler Design, WS 2005/2006 Semantic Analysis – Goal: check correctness of program and enable proper execution. • gather semantic information,…