Saved Bookmarks
| 1. |
Which grammar defines Lexical Syntax?(a) Regular Grammar(b) Syntactic Grammar(c) Context free Grammar(d) Lexical GrammarThe question was posed to me at a job interview.My question is from Lexical Analyser in section Finite Automata and Regular Expression of Compiler |
|
Answer» RIGHT CHOICE is (d) Lexical Grammar Explanation: The specification of a programming language OFTEN includes a SET of rules, the lexical grammar, which defines the lexical SYNTAX. |
|