1014 C语言文法定义与C程序的推导过程
摘要:→|→|→→void|char|int|float→|→|||||:|’,’→→|参数列表’,’→→‘{‘ ‘} ‘ | ‘{‘语句列表‘}‘ | ‘{‘声明语句列表‘}‘→ |→ |‘,‘→ | ‘=‘→ | |→ | ‘,‘→ | → | | | |→| ‘;‘: |→ | | | | | ...
阅读全文
posted @
2015-10-29 17:23
nicole01
阅读(270)
推荐(0)
0917词法分析
摘要:#include#include//strcmp()#include//getch()#define max 200char pro[max], lin[20];int n,i,syn;char *word[6]={ "begin", "if" , "then", "while", "do" ...
阅读全文
posted @
2015-10-14 22:09
nicole01
阅读(154)
推荐(0)