Description: By PL/0 lexical analysis program (GETSYM) analysis, PL and on this basis given in accordance with Appendix A/0 language syntax description, write a PL/0 language lexical analysis procedures. This program shall have the following functions:
Enter a string (to be lexical analysis of the source), the output word train, namely by the tuple sequence (word, class) thereof.
There is a certain ability to check for errors, such as a word can not find this kind 2A string.
To Search:
File list (Check if you may need any files):
词法分析\Pl0.txt
........\词法分析程序.cpp
词法分析