- Lexical analyze script source
- Divide into logical blocks of characters
- Give special blocks a meaning
- re2c (flex originally)
The Parse Error:
Parse error: parse error,
unexpected T_CLASS, expecting ',' or ';' in - on line 2
Parse error: parse error,
unexpected T_CLASS, expecting ',' or ';' in - on line 2