Question: Do Question 2 2. [20 points] Create the state table and action table for the lexical analyzer in question 1. In the table below, write

Do Question 2Do Question 2 2. [20 points] Create the state table and actiontable for the lexical analyzer in question 1. In the table below,

2. [20 points] Create the state table and action table for the lexical analyzer in question 1. In the table below, write the new state, a slash and the action to take at this transition. Use state zero to represent a terminal failing state. The available actions are: O do nothing 1 Create a token containing the input symbol. 2 Add the input symbol to the end of the current token string. Write the input symbols (or groups of symbols) in the left column. input symbol state 1 state 2 state 3 state 4 state 5 letter space other There may or may not be more columns and rows than necessary. Consider a language similar to markup languages. Text is annotated by tags that are in the form

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!