to design and implement and Lexical Analyzer

Job ID: 35429951

Budget: $10 – $30 USD

A java or C programming:
can you help me with the project is to design and implement and Lexical Analyzer for a subset of the Pascal Programming Language. The program should be able to accept as input a file containing statements in Pascal and correctly perform a lexical analysis of each statement.
1. You will need to create a list (some structure to store) of the reserved words for Pascal. (See the link to the Pascal site posted with the assignment).
2. You will need to create a list of various operators used in Pascal by category, for example
token ASSIGN_OP
lexeme :=
3. You will need to create a list of acceptable characters for variables and constants.
4. You will need to write code to test the validity of identifiers, If a string does not match any of the categories, you should indicate that as UNKNOWN.