Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Batch: CSE-40D

Course: Compiler Design

Date: 24/03/2020

Topics: Regular Expression

Algebraic Rules of Regular Expression

follow this link: https://www.univ-


orleans.fr/lifo/Members/Mirian.Halfeld/Cours/TLComp/TLComp-ProRegLang.pdf

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)

Follow this link: https://cs.nyu.edu/~gottlieb/courses/2000s/2007-08-


fall/compilers/lectures/lecture-04.html

Transition Diagram of Unsigned Number

You might also like