Description: 一个简单的PL/0语言的开发环境和语法分析器,别人竟然把我的上传上去了,我才是作者啊-a simple PL / 0 language development environment and syntax analyzer, someone else will take my upload up, and I was the author ah Platform: |
Size: 1041200 |
Author:哈哈哈 |
Hits:
Description: 学习简单的Yacc说明的原理,掌握Yacc源文件的写法以及语法分析器生成工具BISON的使用方法和Yacc源文件的运行方法和基本步骤。
-Yacc study shows a simple principle, Yacc master source file written syntax analyzer and generate UML tools and the use of the source language Yacc pieces of the operation and basic steps. Platform: |
Size: 126870 |
Author:David |
Hits:
Description: 这是个简单的语法分析器程序,输入一个表达式,会给出一个分析过程.-This is a simple procedure syntax analyzer, the importation of an expression, is an analytical process. Platform: |
Size: 8272 |
Author:陈 |
Hits:
Description: 对c语言的简单语法分析器 文件说明: input.txt内为输入的源程序,包括for,while和if else控制等 output.txt内为输出的二元单词序列 k.txt为关键字表 l.txt为运算符和界符表 i.txt为该输入的源程序的标志符 c.txt为常数表 个别表需要序列号,这时各表的序列号默认为从1开始,每行加1。 使用说明: 在提示符下输入input.txt文件的路径和文件名字, 运行完成后,打开文件output.txt看结果。 -right language syntax analyzer simple document : input.txt for input source, including for, and if else while control output.txt output for the binary sequence k.txt word for the keyword table l.txt for Operators and community tables i.txt the source code for the importation of URI c.txt constant Table Table needs of individual sequences, when the tables are the serial number from a default, plus 1 per trip. Use : In prompt input input.txt document routing and document names, running after output.txt open the file to see the results. Platform: |
Size: 184655 |
Author:好好 |
Hits:
Description: C语言编写的简单计算程序的语法分析器,可以识别一定的计算功能-C language prepared by the simple calculation procedure syntax analyzer can identify certain computing capabilities Platform: |
Size: 1024 |
Author:刘思远 |
Hits:
Description: 编译原理,一个词法、语法分析器,实在VC6.0环境下编译的。
能够完成一个PL0语言编写的简单程序的刺法分析和语法分析。
本来还有语义分析的,可是不知道存到哪里了,找不到了。-Compiler Construction Principles, a lexical, syntax analyzer, VC6.0 environment is compiled. Able to complete a simple language PL0 procedures barbed law analysis and grammar analysis. Actually, there is semantic analysis, but do not know where to deposit, and can not find the. Platform: |
Size: 336896 |
Author:侯伟 |
Hits:
Description: 否符合while语句的文法,或者能不能通过文法的开始符号推导出该语句。
(2) 该程序应该包括词法分析器,能对输入的语句进行词法分析,然后再对输出结果。词法分析器应能识别关键字,标示符,常量,操作符等。
(3) 该程序的语法分析器能对输入的语法进行分析,判断输入语句能否满足while循环语句的文法。通过简单优先的方法对语句进行分析,看能否能归约到文法的开始符号。
(4) 该程序的语义分析器就是对分析结果进行输出,要求输出结果是三地址形式的。-Compliance with the statement while the grammar, or to the beginning of grammar symbols can not be derived from the statement. (2) The program should include the lexical analyzer, the statement can be carried out input lexical analysis, and then output the results. Lexical analyzer should be able to identify the keywords, identifiers, constants, operators and so on. (3) parser of the program can analyze the syntax of input to determine whether the input statement to meet the loop while the grammar. Priorities through a simple statement of the method of analysis to see whether it can reduce to the beginning of grammar symbols. (4) the program analyzer is the semantic analysis of the results of the output requirements of the output is three-address form. Platform: |
Size: 60416 |
Author:李伟霞 |
Hits:
Description: Syntax Analyzer: this tool with nice GUI can analyze the simple C++ code for syntax errors!
It will also tell you the line of syntax error! You could type the code or open a text file with code, and it is also possible to save a file with code.
The "Template.txt" file contains the grammar - language constructions that will be recognized by syntax analyzer (such as "if" and "for")
You could add your language constructions as well.
The "Analyzer.h" file contains the main code of the program.
The "Form1.h" file contains the GUI, and also transfers the typed code to "Analyzer.h" for analysis.
Some notes about it:
1) It reports space symbols " " as syntax error. You could fix it easily.
2) The comments are on Russian, you will have to use Google Translator to translate them. Use "translate to English" - because if you use "translate to Chinese", it will translate Russian -> English -> Chinese, and the translation quality would be really bad. Platform: |
Size: 4679680 |
Author:benjy |
Hits:
Description: 这是一个简单的词法分析器。
能对具有简单语法的编程语言进行词法分析。-This is a simple lexical analyzer.
Able to have a simple programming language syntax for lexical analysis. Platform: |
Size: 378880 |
Author:刘洁 |
Hits: