码迷,mamicode.com
首页 >  
搜索关键字:词法    ( 1541个结果
0917词法分析
#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
1015词法分析
#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
0917词法分析
#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
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" ,"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
1014 词法分析器(完美版)
#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 学习之作用域和变量解析
主要描述Js 作用域不同于C、C++、java等的地方,并总结一些自己对词法解析的理解
分类:Web程序   时间:2015-10-12 14:25:08    阅读次数:201
JavaScript基础——词法结构
JavaScript区分大小写;(HTML不区分大小写,XHTML区分大小写)JavaScript会忽略程序中标识之间的空格;多数情况下,JavaScript也会忽略换行符Unicode转义序列均以\u为前缀,其后跟随4个十六进制数。//行注释;/*跨行注释*/JavaScript标识符必须以字母、...
分类:编程语言   时间:2015-10-11 19:35:18    阅读次数:143
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!