#include<fstream.h>
#include<string.h>
#include<ctype.h>
#include<math.h>
#include<stdlib.h>
char* word[]= {"begin","call","const","do","end","if","odd",
"procedure","read","then","var","while","write"};
char* wsym[]= {"beginsym","callsym","constsym","dosym","endsym",
"ifsym","oddsym","procsym","readsym","thensym",
"varsym","whilesym","writesym"};
char* symbol[]= {"+","-","*","/","(",")","=",",",".","#",";"};
char* sysm[]= {"plus","minus","times","slash","lparen","rparen",
PL/0语言词法分析程序(C++版)
最新推荐文章于 2024-05-22 23:10:11 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)