Description: Design and implementation of C language lexical analysis program. Requirements are as follows:
Can identify the source with the C language symbol for each word, and to mark each word in the form of output symbols.
Can identify and read the source of the comment.
Statistical source of the statement could be the number of lines, words, numbers and character numbers, punctuation and spaces which are not counted as words, and output results.
Check the source of errors, and can report the errors in the ranks of the position.
Found that errors exist in the source program after the appropriate recovery, so that lexical analysis can proceed, through a lexical analysis, may inspect and report all errors that exist in the source program.
Using C/C++ as implementation language, hand-written procedure for this method.
To Search:
File list (Check if you may need any files):
07402 30 韩静.c