The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
i need help with this discrete structures 2 assignment thank you
Â
Program Assignment #1CIS 306Winter 2016Upload your program by 1/25/2016 (M)Write a lexical analyzer which reads a C- program, strips off comments (denoted by/*comments */), and generates four symbol tablets.1.The KEYWORD table includes all keywords defined in Louden, pp.491). Eachkeyword is associated with an index. You may combine the special symbols intothe KeyWord table. You may hardcode them.KeywordIndexElse1If2int32.The INDENTIFIER table includes all the user-defined identifiers. The table issimilar to the keyword table except that it contains identifiers. Each identifier hasits unique index.3.The NUMBER table includes all integers and floats used in the program.Numindexattribute601integer3.752float4.The TOKEN table includes all the tokens in the order that they are generated. Thetable should include the following information:TokenclassindexIntkw3Gcdid13.75num2
Attachments: