A pseudocode editor

The project is to develop a pseudocode editor can fit with specific group of users such as children or blind people.
Each editor has syntax must be follow for each programming components: Primitive types, initialization, declaration, selection statements such as (if, nested if, if-else), expression statements, loop statements (for, while, do while).
You can also use comments and blocks.
The language is not case sensitive (small/capital letters are the same). Type casting is accepted for (float=integer only).
Phase 1: Lexical analyser
1- GUI for typing the pseudocode and getting the results if there is any lexical errors. The errors should be described via meaningful messages with line number.
2- Tokenize the code. Spaces are not the only delimiters!
3- Write RE for each type.
4- Develop a function that convert each RE into DFA directly and catch the lexical errors if any.
5- Use the function for each token and generate sample table (token, line number, type) in a text file. The types will be used in the syntax parsing and CFG.
6- Design all context free grammars for your language. Each program should start with program: then set of declarations, set of statements, and ends with End.
7- Test the lexical analyser with correct and incorrect code.
8- Report (RE, CFG, Code, your test and screenshot of the GUI)