Discuss the following questions relative to compilers:
a) Which phase of a compiler would give you a syntax error?
b) Which phase complains about undefined variables?
c) If you try to add an integer to a character string, which compiler phase would emit the error message?