Description: 执行程序,输入文法,与需要分析的语句执行ll(1)分析,很方便-implementation procedures, the importation of grammar, and the need to analyze the implementation of the phrase ll (1) analysis, is a convenient Platform: |
Size: 11505 |
Author:Wandy_1234 |
Hits:
Description: 词法分析和语法分析的程序,带实验报告- The lexical analysis and the grammar analysis procedure, brings
the test report Platform: |
Size: 50176 |
Author:王聃 |
Hits:
Description: 由于时间紧迫及事先准备不足,编译器最后定型时暴露出不少问题及不足之处,主要有以下一些方面: 不支持数组数据类型,这是文法分析器设计时的一个疏漏,由于时间关系,最后只得把扫描器中已做好的相关的数组部分删去。 对于float数据类型的支持,直到语义分析都是正常的,也能生成相应的汇编代码,但由于我们对8086/8088指令系统本身了解不足,这样的汇编代码将只能做到含义上完全忠实于源程序,但不能运行。 对于局部变量的支持,则于时间紧迫,所有的局部变量全被处理成静态变量。使递归函数不能得到正确的结果。 对于函数调用语句,不进行参数匹配检查,如果参数数量不对,也将能通过编译,但运行时将产生非法操作。 对&& !等逻辑操作在最后生成代码时处理比较粗燥,生成的代码在逻辑复杂时将不能保证运行正常。 接下来有一些,不能说是缺陷,但必须说明的问题: 对于main函数,没有参数表,通回类型也必须为void,但如果写上参数表及其他返回类型也能编译通过,生成代码时将简单地忽略,不影响最后的代码的运行。 对于while,for,if语句,其语句体不管是一句还是多句,必须都有{}围起来。这跟C语言中若是一句则可省略{}不同。-Due to the time constraints and lack of preparation in advance, the compiler finalized when exposed numerous problems and shortcomings, mainly in the following aspects : no support for array data type, which is grammar analyzer design of an omission, because of the time, the final could only have scanners do phase customs array deleted. For float data types of support until semantic analysis is normal, and can generate the corresponding assembly code, but because of our 8086/8088 directive to the knowledge of the system itself, this compilation can do to code meaning entirely faithful to the source, but not running. For the support of local variables, in the time constraints, all local variables were all handled in the static variable. So recursive function will not get the right results. Platform: |
Size: 260096 |
Author:周杰 |
Hits:
Description: 用算符优先文法制作的算符优先分析器,实现了FIRSTVT跟LASTVT的输出跟优先表的输出以及栈的输出以及到文件的输出。-priority grammar operator with the operator priority to the production analyzer, achieved with LASTVT FIRSTVT output with the output of the priority list and stack output and the output of the document. Platform: |
Size: 10240 |
Author:姜鹏 |
Hits:
Description: oSIP实现了会话初始协议Session Initiation (由IETF发布为RFC 3261)。它可以为多媒体应用程序(IP电话,等等)提供信令功能。它为SIP语法提供了一个完全可用的语法分析器,实现了草案中定义的“事务”层。它也提供了一个SDP分析器和为用户代理提供的额外功能。它可以用于建造代理服务器和IP电话-oSIP achieve Session Initiation Protocol Session Initiation (released by the IETF as RFC 3261). It can for multimedia applications (IP phone, etc.) signaling functions. It SIP Grammar providing a complete syntax analyzer can be used to achieve a draft definition of "services" layer. It also provided an SDP analyzer for the user agent and provide the additional functionality. It can be used in the construction of the proxy server and IP Telephony Platform: |
Size: 403456 |
Author:侯为 |
Hits:
Description: 执行程序,输入文法,与需要分析的语句执行ll(1)分析,很方便-implementation procedures, the importation of grammar, and the need to analyze the implementation of the phrase ll (1) analysis, is a convenient Platform: |
Size: 206848 |
Author:Wandy_1234 |
Hits:
Description: 输入一个DO-WHILE的语句,进行词法分析,词法分析器利用超前搜索,状态转换等方法,将源程序转化成为一个一个的单词符号二元式,如果词法分析无误,则进入语法分析部分,使用简单优先法进行文法分析,为每个终极符与非终极符之间定义优先关系,利用优先关系进行移进-规约,如果能规约到文法的开始符,则文法分析成功,输出四元式.-importation of a DO-WHILE statements, lexical analysis, lexical analyzer using advanced search, the transformation of the state, will be turned into a source of a binary symbols-words, if the lexical analysis accurate. it may enter the syntax analysis, the use of simple grammar priority method, Ultimate website for each non-whitespace between the ultimate definition of priorities, the use of priority relations Shift-Statute If the statute can begin to address the grammar, grammar analysis of successful export-4 yuan. Platform: |
Size: 246784 |
Author:liujing |
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: 编译器设计的编译程序涉及到编译五个阶段中的三个,即词法分析器、语法分析器和中间代码生成器。编译程序的输出结果包括词法分析后的二元式序列、变量名表、状态栈分析过程显示及四元式序列程序。整个编译程序分为三部分:词法分析部分、语法分析处理及四元式生成部分、输出显示部分。-Compiler design compiler compiler involved in three of five stages, namely, lexical analyzer, syntax analyzer and intermediate code generator. Compiler output results include lexical analysis of binary sequence, variable watch, state stack analysis shows and quaternion sequence procedures. The entire compiler is divided into three parts: part of lexical analysis, grammar analysis and to generate part of quaternion type, the output display. Platform: |
Size: 177152 |
Author:佚星 |
Hits:
Description: 词法和语法分析器,其中词法分析是用c写的,语法分析是用java写的-Lexical and syntax analyzer, including lexical analysis is c written grammar analysis is written in java Platform: |
Size: 1081344 |
Author:AFei |
Hits:
Description: 这是编译原理中语法词法分析器分析器的实现
-This is a principle in the grammar compiler lexical analyzer Analyzer to achieve Platform: |
Size: 230400 |
Author:haidiliehuo |
Hits: