The lexical analysis for a modern language such as Java needs the power of which one of the following machine models in a necessary and sufficient sense?
(a) Finite state automata
(b) Deterministic pushdown automata
(c) Non-deterministic pushdown automata
(d) Turing machine
The question was posed to me during an online interview.
I'd like to ask this question from Transformation from NFA to DFA in section Finite Automata and Regular Expression of Compiler