Question: Based on the lexical analysis section we have discussed do the following: Using Java, implement the front.c code for lexical analyzer in OOP. Name the


Based on the lexical analysis section we have discussed do the following: Using Java, implement the front.c code for lexical analyzer in OOP. Name the class as: "LexFront" Write a main driver file to test your class The source code file for testing is uploaded on Moodle The tokens should be defined as enumerated type and displayed as strings not as integers Add the token "$" to your token list as a statement delimiter and use it to display each statement block at shifted indentation level or separate the statements with a separator header (see example below) 1. 2. 3. 4. 5. 6. Groups of max 4 is fine. Based on the lexical analysis section we have discussed do the following: Using Java, implement the front.c code for lexical analyzer in OOP. Name the class as: "LexFront" Write a main driver file to test your class The source code file for testing is uploaded on Moodle The tokens should be defined as enumerated type and displayed as strings not as integers Add the token "$" to your token list as a statement delimiter and use it to display each statement block at shifted indentation level or separate the statements with a separator header (see example below) 1. 2. 3. 4. 5. 6. Groups of max 4 is fine
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
