Professional Documents
Culture Documents
Batch: CSE-40D Course: Compiler Design Date: 24/03/2020 Topics: Regular Expression
Batch: CSE-40D Course: Compiler Design Date: 24/03/2020 Topics: Regular Expression
Date: 24/03/2020
Transition Diagram:
Transition diagram is similar to a flowchart for (a part of) the lexer. We draw one
for each possible token. It shows the decisions that must be made based on the
input seen. The two main components are circles representing states (think of them
as decision points of the lexer) and arrows representing edges (think of them as the
decisions made)