Which phase of compiler checks the grammar of programming?
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: D. Syntax analysis
Explanation
The syntax analyzer (parser) checks that the token stream follows the language's grammar.
More Theory of Computation and Compilers questions
- A. The set of turning machine codes for TM's that accept all inputs that are palindromes (possible along with some other inputs) is decidab…
- Which of the following parser is most powerful parser?
- Which of the following statement is correct?
- The compiler for high level language that runs on one machine and produces code for other machine is called-
- In the context of Binding which one of the following is incorrect?
- In Pumping Lemma for context-free languages, to say a language is satisfying pumping lemma, vx what is the minimum length of ' ' together,…