Question: Complete the Lexical analyzer code in Lab_03 for all the states which are present in your final integrated Finite Automata which recognizes (i) Arithmetic Operators
Complete the Lexical analyzer code in Lab_03 for all the states which are present in your final integrated Finite Automata which recognizes (i) Arithmetic Operators (+ , -, *, /, %) (ii) Arithmetic Assignment Operators (+=, - =, *=, /=, %=) (iii) Relational Operators (<, <=, >, >=, ==, !=) (iv) Increment/Decrement Operators (++, - -) (v) Single Line and Multi Line Comments (vi) Character and String literals (vii) Integer and float literals (viii) Punctuation Marks ( ; | : | , | | | { | } | [ | ] | ( | ) )
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
