Question: please do both 8 and 9 thank you. 8. Consider we are lexing HTML documents. We need to identify each lexeme from input string in

please do both 8 and 9 thank you.
8. Consider we are lexing HTML documents. We need to identify each lexeme from input string in the documents based on the HTML tag specifications. Suppose the specifications are given as: Content ::= [^]*>( ending with '>') STag ::= ]*>('' ending with >') Design FA that can recognize the specifications above. 9. Design an NFA for 10 (011)0*1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
