3-intro-lex.pdf - Lexical Analysis Acknowledgments Slides adapted from Prof Alex Aiken(Stanford 1 Outline • Informal sketch of lexical analysis –

3-intro-lex.pdf - Lexical Analysis Acknowledgments Slides...

This preview shows page 1 - 10 out of 39 pages.

1 Lexical Analysis Acknowledgments : Slides adapted from Prof. Alex Aiken (Stanford)
Image of page 1
2 Outline Informal sketch of lexical analysis Identifies tokens in input string Issues in lexical analysis Lookahead Ambiguities Specifying lexers Regular expressions Examples of regular expressions
Image of page 2