Which of the following approach can be used to implement lexical analyser?
1
Use a lexical analyzer generator.
2
Write the lexical analyzer in a conventional systems-programming language.
3
Write the lexical analyzer in assembly language.
4
All of the above