当前位置:
首页
资源下载

搜索资源 - simple lexical analyzer in c
搜索资源列表
-
0下载:
一个简单的词法分析器,1代表字符,2代表关键字(命令字),4带表算符界符, 注:要把wangs.txt这个文件放在桌面上,然后在这个TXT里写上你要识别的语句。然后保存后关毕,在运行WANG词法分析.EXE进行词法分析。 完成识别后,会在相应的词面前出现以上代号。暂不能对数字进行识别。因为在某种请况下数字也可表是为字符……稍有困难,但完成老师的针对程序段:area=b+c*d。那简直是小菜一碟。-a simple lexical analyzer, a representative charac
-
-
0下载:
C写的词法分析器,能实现简单的文件查找, 如果表达式正确,则会在结果框中显示“正确”,否则会显示存在语法错误.这是我第一次上传如果大家发现有错误的文法没有报错,或者正确的文法却报错了,可以向我反映-C wrote lexical analyzer, able to find a simple document, if correct expression will be shown in the results box "correct", as it showed the
-
-
1下载:
用C语言编写的简单的词法分析器,能识别出单词序列,输出二元组,标识符表,常量表-Written in C a simple lexical analyzer can identify the sequence of words, the output pair, the identifier table, often scale
-
-
0下载:
很不错的词法分析实验报告 编译程序的第一阶段是词法分析,为了能把输入的字符串进行扫描和分解,识别出各种类型的单词符号,我用C++语言设计了一个简单词法分析器,分析C++语言单词的子集(包括常用关键字、标识符、常数、算符、界符等)。-Very good compiler lexical analysis lab report is the first stage of lexical analysis, in order to be able to scan the input string an
-
-
0下载:
简单的词法分析小例子- Simple lexical analysis small example
-
-
0下载:
用C++编写的一个简单C语言词法分析器,把需要分析的内容保存在C:\input.txt,分
析完毕好保存在C:\output.txt-Using C++ to prepare a simple C language lexical analyzer, the need to analyze the contents stored in C: \ input.txt, finished the analysis of well preserved in the C: \ output.txt
-
-
0下载:
此程序使用在java环境下开发的,是一个功能简单的C语言词法分析器-The use of this procedure in the java development environment, is a simple C language lexical analyzer
-
-
0下载:
否符合while语句的文法,或者能不能通过文法的开始符号推导出该语句。
(2) 该程序应该包括词法分析器,能对输入的语句进行词法分析,然后再对输出结果。词法分析器应能识别关键字,标示符,常量,操作符等。
(3) 该程序的语法分析器能对输入的语法进行分析,判断输入语句能否满足while循环语句的文法。通过简单优先的方法对语句进行分析,看能否能归约到文法的开始符号。
(4) 该程序的语义分析器就是对分析结果进行输出,要求输出结果是三地址形式的。-Compliance with the s
-
-
0下载:
这是一个使用了LEX所编写的Simple语言的词法分析器。Simple语言的定义说明请看附件。这个LEX的源代码可以通过Parser Generator 2来转化成为h文件跟cpp文件。由于编译这两个文件需要使用到Parser Generator 2的C++库,所以就只上传了LEX的源代码,谁感兴趣的可以自己通过Parser Generator 2来转化。至于UNIX下面的LEX工具如果想要转化的话需要修改其主程序,另外需要将LEX源代码之中有关C++语言的表达形式修改成为相应的C语言的表现形式
-
-
0下载:
用C++编写的简单的词法分析器,还请大家多多指教。-C++, written in a simple lexical analyzer, but also please the exhibitions.
-
-
1下载:
设计一个简单的词法分析器,从而进一步加深对词法分析器工作原理的理解。了解编译原理中词法分析器的原理,并用一种编程语言的具体代码实现简单的词法分析器的功能(在这里我使用C语言实现,代码可以完成简单的C语言程序中的关键词,变量,分界符,数字,运算符,赋值符。)-Design a simple lexical analyzer to further deepen the understanding of the lexical analyzer works. Compiler theory to u
-
-
0下载:
一个用C语言实现的简单的词法分析器。可作为编译原理课的参考。-Using C language implementation of a simple lexical analyzer.You can use it as a reference in Compiler theory class.
-
-
0下载:
该程序是词法分析器。它的的主要功能是实现在C原程序的编译。简单容易理解。-The program is the lexical analyzer. Its main function is to achieve the original program in the C compiler. Simple and easy to understand.
-
-
0下载:
简单C词法分析器 C语言的字符串常量书写时使用了大量的转义符-Simple C lexical analyzer written in C language string constants used a large number of escapes
-
-
0下载:
c++编写的词法分析器,能够对简单的语法错误进行检测和报错!-written in c++ lexical analyzer can be a simple syntax error detection and error!
-
-
0下载:
c语言编写的简单词法分析器的实现,适用于初学者的简单程序。-c lexical analyzer written in a simple implementation of a simple procedure for beginners.
-
-
0下载:
C++编辑的简单词法分析器,编译原理方面的-A simple C++ lexical analyzer editing, compiler theory in the
-
-
0下载:
编译原理实验报告,词法分析器(C++版),简单实现都本程序则是通过对给定路径的文件的分析后以单词符号和文字提示显示-Lab report compiler theory, lexical analyzer (C++ version), a simple procedure to achieve all of this is given by the path of the file analysis in order to display the word symbol and text pro
-
-
0下载:
此程序是正对编译原理中所涉及到的词法分析程序所编译的一个简单的C语言版的词法分析程序。-This a simple Lexical Analyzer in the C environment.
-
-
0下载:
用C或C++语言编写一个简单的词法分析程序,能够删除C/C++源程序中的所有注释,并输出处理后的结果。-Write a simple lexical analyzer, C or C++ language and be able to delete all comments in the C/C++ source, and output the result of the processing.
-