Due on September 4th @ 3:00 PM (in class, to Drew, or at Engineering front office) |
Not accepted late |
Due on September 4th @ 3:00 PM (in class, to Drew, or at Engineering front office) |
Not accepted late |
What is the purpose of the lexer component of a compiler? Give an example of an input that GCC would flag for a lexical error.
What is the purpose of the syntactic analysis component of a compiler? Give an example of an input that GCC would flag for a syntactic error.
What is the purpose of name analysis in a compiler? Give an example of an input that GCC would flag for failing name analysis.
What is the purpose of type analysis in a compiler? Give an example of an input that GCC would flag for failing type analysis.