-
编译原理词法分析的一个小代码
编译原理词法分析的一个小代码-compiler theory lexical analysis of a small code
- 2023-03-11 17:40:04下载
- 积分:1
-
reading from file and display the number of words without spaces
reading from file and display the number of words without spaces
- 2022-05-16 13:04:47下载
- 积分:1
-
编译原理的课程设计,if
编译原理的课程设计,if-else条件语句的翻译,包括语法分析和词法分析。-compiler theory of curriculum design, if-else statements for the translation, grammatical analysis and lexical analysis.
- 2022-01-26 15:25:08下载
- 积分:1
-
设计、编制、调试一个典型的语法分析程序,实现对如下文法的递归子程序法分析,进一
步掌握常用的语法分析方法。...
设计、编制、调试一个典型的语法分析程序,实现对如下文法的递归子程序法分析,进一
步掌握常用的语法分析方法。-Design, preparation, testing a typical parser to realize the following grammar for a recursive subroutine Analysis, to further understand the syntax of commonly used analytical methods.
- 2022-03-07 13:06:02下载
- 积分:1
-
小型编译器的词法扫描
正则表达式
相见编译原理
小型编译器的词法扫描
正则表达式
相见编译原理-Small compiler lexical scanning regular expression compiler theory meet
- 2022-02-04 11:55:24下载
- 积分:1
-
用C语言实现了C
用C语言实现了C-程序的语法分析,以控制空格来显示层次,表示出了语法分析树-With the C language to implement the syntax of C-program analysis in order to control the space to show the level of expressed syntax parse tree
- 2022-06-28 04:22:19下载
- 积分:1
-
目的:通过编写简单的YACC程序熟悉YACC词法分析工具的基本用法,及词法分析器的设计思路。编写包括赋值语句、if语句以及含有加合乘运算的表达式等语法结构的pa...
目的:通过编写简单的YACC程序熟悉YACC词法分析工具的基本用法,及词法分析器的设计思路。编写包括赋值语句、if语句以及含有加合乘运算的表达式等语法结构的pascal子集语言的语法分析器。 功能:程序由两个模块LEX和YACC构成,YACC使用LEX分析后的正规单词输出流-Objective : to prepare a simple procedure with YACC YACC lexical analysis of the basic tools to use, and the lexical analyzer designs. Preparation including assignment if statements containing Addition and multiplication of expressions such as grammatical structure of the pascal subset of the language syntax analyzer. Function : procedures by the two modules constitute LEX and YACC, YACC LEX analysis using the formal word output streams
- 2022-01-26 03:38:11下载
- 积分:1
-
雅加达
jakarta-regexp-1.5 正则表达式的源代码-jakarta-regexp-1.5 regular expression source code
- 2022-02-06 14:33:40下载
- 积分:1
-
Delphi编的pl0编译器
delphi编的pl0编译器-delphi arranges pl0 compiler
- 2022-12-02 06:40:03下载
- 积分:1
-
(1)构造文法G的LR(0)项目
(2)构造文法G的LR(0)项目集规范族及识别活前缀的DFA
(3)证明文法G不是LR(0)文法而是SLR(1)文法,...
(1)构造文法G的LR(0)项目
(2)构造文法G的LR(0)项目集规范族及识别活前缀的DFA
(3)证明文法G不是LR(0)文法而是SLR(1)文法,并构造SLR(1)分析表
(4)设计LR语法分析程序,且能输出分析过程
(5)列举两个例子测试语法分析程序(识别失败一例,识别成功一例,后者推导步骤不得少于10步)
-(1) construct grammar G of the LR (0) item (2) construct grammar G of the LR (0) item sets standards and identification of family living prefix DFA (3) prove that the grammar G is not LR (0) grammar, but the SLR (1 ) grammar, and constructs SLR (1) analysis table (4) design LR parser, and can output analysis process (5) cited two examples of parsing test procedures (identification fails an example, identify the success of a case, the latter shall not be derived step Less than 10 steps)
- 2022-05-16 14:03:06下载
- 积分:1