CSC376 · 2078 · 10 marks
List out the tasks performed by Lexical Analyser. Define DFA. Convert the Regular Expression (a+b)∗a(a+b)(a+b)^*a(a+b)(a+b)∗a(a+b) to DFA directly.
List out the tasks performed by Lexical Analyser. Define DFA. Convert the Regular Expression (a+b)∗a(a+b)(a+b)^*a(a+b)(a+b)∗a(a+b) to DFA directly.[10]
Compiler Design and ConstructionChapter 2: Lexical, Syntax and Semantic AnalysisFinite Automata relevant to compiler construction syntactic Numerical: regular expression to DFA