What is the function of the syntax phase?
(a) recognize the language and to cal the appropriate action routines that will generate the intermediate form or matrix for these constructs
(b) Build a literal table and an identifier table
(c) Build a uniform symbol table
(d) Parse the source program into the basic elements or tokens of the language
This question was addressed to me by my college professor while I was bunking the class.
My question is based upon Syntax-Directed Definitions and Translations in portion Syntax Directed Definition and Translations of Compiler