搜索资源列表
UnLinker编译原理实验
- 编译原理实验 为UnLinker.java文件中的UnLinker类实现成员函数String clean(String text). 函数clean的功能是屏蔽字符串参数text中的网页链接信息,并返回屏蔽后的结果;如果无需屏蔽,则返回原来的字符串. 每个网页链接从左至右依次分成前缀,域名和后缀三部分-Compilation Principle experiment UnLinker.java file UnLinker class implements member functions Str
lex
- 实现c--语言的词法分析器。将一个C--语言程序分割成token串的序列。处理C--语言的所有token类型。-The realization of c- the language of the lexical analyzer. A C- language program is separated into token strings sequence. To deal with C- the language of all the token types.
Compiler
- (1)C++源代码扫描程序识别C++记号。 C++语言包含了几种类型的记号:标识符,关键字,数(包括整数、浮点数),字符串、注释、特殊符号(分界符)和运算符号等。 (2)打开一个C++源文件,打印出所有以上的记号。 (3)要求应用程序应为Windows界面。 (4)选作部分:为了提高C++源程序的可读性,C++程序在书写过程中加入了空行、空格、缩进、注释等。假设你想牺牲可读性,以节省磁盘空间,那么你可以存贮一个删除了所有不必要空格和注释的C++源程序的压缩文本。因此,程序中还应该有这
lexical-analyzer
- 简单的词法分析器 生成token串和符号表 内附测试文档-Simple lexical generated by the parser the token strings and symbols table enclosing the test document
yufa
- 语法分析程序的输入文件为语法分析产生的token串,并在文件最后一列加上了一个#号,代表语法归约结束,程序采用的是递归子程序的方法,如果归约成功会输出Success,如果归约失败,会返回归约到token串的哪个元素出现错误,已经相应的未归约成功的文法产生式是哪条-Parser to parse the input file generated token string, and the last one in the file plus a# sign, on behalf of the end
project
- 词法分析器,接收源程序,得到该程序的token串-Simple design of a simple language compiler, we realize that the symbol table design, the design of lexical analysis, syntax analysis and semantic analysis of the design, and ultimately produce quaternion type. Lexical analys
XPBBasic112and117
- XPB!Basic XPB! is a brand new compiler for the 32-bit Windows platform that contains a rich set of features for developingboth GUI and console applications! Features True 32-bit compiler! Create both GUI and console programs! Create
delimit--Float2str--str-concat
- Programs to delimit a string, concatenate strings and float to string conversion.
