Finding Output Sequence of Token T1, T2, T3 | Compiler Construction by TechWithCode

 Question Statement⤵️

A lexical analyzer uses the following patterns to recognize three tokens T1, T2, and T3 over the input symbols {a, b, c} 

T1 : a?(b|c)*a T2 : b?(a|c)*b T3 : c?(b|a)*c 

If the string “bbaacabc” is processed by the analyzer, which sequence of tokens 
it outputs?


No comments:

Do not add any link in the comments.
For backlink, contact us.

Powered by Blogger.