本项目利用Java swing技术制作爬虫界面,采用广度优先算法实现网页的URL提取,下载到本地以日志形式保存,(移植时注意修改保存路径),然后通过另一部分对所需关键字高亮处理。学校课程设计作业,有不足之处请多多包涵
2019-12-21 19:43:35 160KB 爬虫,swing
1
编译原理 词法分析器实验代码 从文件读入 cbb.cpp文件
2019-12-21 19:42:14 204KB 词法分析器 文件读 编译原理
1
完整的编译原理语法分析器的全套,还有实验报告。。。
2019-12-21 19:42:10 1.36MB good
1
本实验通过一个简易的语法分析器的实现,进一步加深对《编译原理》课程中语法分 析理论的理解,增强动手程序设计能力。分析可以采用自上而下的 LL(1)分析法,自下而上 的 SLR(1)和 LR(1)分析法。本次试验采用的是 LR(1)分析法,加深对它的理解。
2019-12-21 19:38:38 115KB 语法分析器 Java语言 编译原理
1
c语法分析器,采用bison2.1(yacc), flex(lex), 生成程序的语法树 分析单个文件,不支持预处理, 不解析预处理符号# bison,flex工具在上传包内,语法见cgrammar-new.y,词法见input.lex 另附相关说明,本代码采用vs2005,建立console工程即可编译运行。 测试文件test.c, 输出结果out.txt
2019-12-21 19:38:06 914KB c 语法分析 yacc bison
1
C语言词法分析器 #include #include #include char *key0[]={" ","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","_Complex","_Imaginary","union","unsigned","void","volatile","while"}; /*保留字表*/ char *key1[]={" ","(",")","[","]","{","}",",",";","'"}; /*分隔符表*/ char *key2[]={" ","+","-","*","/","%","","==",">=","<=","!=","!","&&","||","<>","~","|","^","&","=","?:","->","++","--",".","+=","-=","*=","/="}; /*运算符表*/ int xx0[35],xx1[10],xx2[31]; .......
2019-12-21 19:37:21 19KB C语言词法分析器
1
编译原理实验 语法分析器的程序,是采用的算符优先文法,是大三时候写的,很全,里面包括源程序 和实验报告等。
2019-12-21 19:37:20 176KB 编译原理 语法分析 算符优先 实验
1
使用MFC实现编译原理LL1语法分析器(含消除左递归)使用MFC实现编译原理LL1语法分析器(含消除左递归)
1
编译原理的课程设计,用c++完成了词法分析和语法分析的功能,附带结题报告。
2019-12-21 19:34:42 14.23MB 编译原理 词法分析 语法分析 SLR
1
这是《编译原理》的课程设计--C-Minus词法语法分析器(带有课程设计报告),采用Web前端的JavaScript实现,兼容多种浏览器。词法分析器部分采用表驱动机制实现,同时提供一套用于快速验证性的正则匹配测试工具。语法分析器采用LR(0)文法实现,并且提供自动化构造LR(0)的操作表生成器。(源代码的注释非常详细,请先看下里面的"说明.txt")(温馨提示:下载后评论【需要评选等级】会返回被扣除的积分)
2019-12-21 19:34:10 182KB JavaScript 编译器 scan parser
1
服务器状态检查中...