Write a summary (maximum 2 pages, single spaced) of the challenges of converting between C and the language you use for this assignment.
- Text, Ch 4, p 194, Programming Exercises: 5, 6
5. Modify the lexical analyzer given in Section 4.2 to recognize the following list of reserved words and return their respective token codes: for (FOR_CODE, 30), if (IF_CODE, 31), else (ELSE_CODE, 32), while (WHILE_CODE, 33), do (DO_CODE, 34), int (INT_CODE, 35), float (FLOAT_CODE, 36), switch (SWITCH_CODE, 37).
6. Convert the lexical analyzer (which is written in C) given in Section 4.2 to Java.
Source https://www.opticfox.com/2013.htm• To test code and do runs: https://www.compileonline.com• Test1: (sum + 47) / total• Other tests of your choice