#include#includechar prog[80],token[8];char ch;char *rwtab[6]={"begin","if","then","while","do","end"};int syn,m=0,row,sum=0,p=0,n;main(){ printf(...
分类:
其他好文 时间:
2015-10-15 15:59:55
阅读次数:
156
#include#include//strcmp()用于比较两个字符串#include//getch()#define max 200char pro[max], lin[20];int n,i,syn;char *word[6]={ "begin", "if" , "then", "while",...
分类:
其他好文 时间:
2015-10-15 15:46:13
阅读次数:
300
1 #include 2 #include 3 #define max 1000 4 char a,token[max],word[max]; 5 void main() 6 { 7 int n=0,i=0; 8 char *rwtab[6]={"begin","i...
分类:
其他好文 时间:
2015-10-14 23:32:01
阅读次数:
165
#include#include//strcmp()用于比较两个字符串#include//getch()#define max 200char pro[max], lin[20];int n,i,syn;char *word[6]={ "begin", "if" , "then", "while",...
分类:
其他好文 时间:
2015-10-14 23:27:50
阅读次数:
184
#include#include//strcmp()#include//getch()#define max 200char pro[max], lin[20];int n,i,syn;char *word[6]={ "begin", "if" , "then", "while", "do" ,"e...
分类:
其他好文 时间:
2015-10-14 23:25:25
阅读次数:
194
#include #include #include #define _KEY_WOED_END "waiting for your expanding" //关键字结束标志typedef struct { int typenum; char * word; }WORD;char input[255...
分类:
其他好文 时间:
2015-10-14 21:16:27
阅读次数:
187
#include#include #includemain(){ char a[10000]; char ch,bh; int i,s,t,j,q; s=0; t=0; printf("请输入字符(输入#结束):"); do { sca...
分类:
其他好文 时间:
2015-10-14 19:31:59
阅读次数:
213
#include #include #include typedef struct node{ char words[255]; struct node *next;}NODE;char word[255];char *word_default[6]={"begin","if","the...
分类:
其他好文 时间:
2015-10-14 14:18:50
阅读次数:
152
主要描述Js 作用域不同于C、C++、java等的地方,并总结一些自己对词法解析的理解
分类:
Web程序 时间:
2015-10-12 14:25:08
阅读次数:
201
JavaScript区分大小写;(HTML不区分大小写,XHTML区分大小写)JavaScript会忽略程序中标识之间的空格;多数情况下,JavaScript也会忽略换行符Unicode转义序列均以\u为前缀,其后跟随4个十六进制数。//行注释;/*跨行注释*/JavaScript标识符必须以字母、...
分类:
编程语言 时间:
2015-10-11 19:35:18
阅读次数:
143