A Overview
A Overview
Front End
Split into two parts
Scanner: Responsible for converting character
stream to token stream
Also strips out white space, comments
Parser: Reads token stream; generates IR
Both of these can be generated
automatically
Source language specified by a formal grammar
Tools read the grammar and generate scanner
& parser (either table-driven or hard-coded)