搜索资源列表
Grammer_analysis_program
- 北邮 编译原理与技术 课程实验 语法分析程序 用C++实现,包含递归下降分析,LL(1),LR(1),YACC的所有源代码及测试输入文件-Compile didactical building principle and technology experiment grammar analysis in c++ program implementation, include recursively to analysis, LL (1), LR (1), all of the source co
LR0
- (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)
compilerWithJava.tar
- 用java实现的编译器. 包括语法分析,词法分析,生成目标代码等,代码很简单,本人已经测试过,很完美.-this is the lightweight java compiler, it contains syntactical analysis,lexer analysis and the target generate. the codes is so simply,i works so perfect...i think you can do it..
c-language
- 关于C的词法分析和LR语法分析,包括测试程序,还有文档,以及编程的步骤。-C lexical analysis and LR parsing, including the step of testing procedures, as well as documentation, and programming.
complieTest1
- 编译原理课程写的词法分析程序。该词法分析程序能够读取测试输入文件中的源程序,并将其词法分析的结果即token序列或词法分析错误信息输出到tokenOut.txt中-Compiler theory lexical analysis program written procedures. The lexical analysis program that can read the test input file of the source, and lexical analysis of the r
CMMintepre
- CMM(自定义) 是C 语言的一个子集,本程序对用这种语言写成的程序进行分析并输出相关的分析结果,解释器使用C语言写成.由词法分析程序、语法分析程序和语义分析程序组成。资源中包括程序源代码、可运行程序及测试程序、一个VC工程和相关设计用CMM语言设计文档。-CMM (custom) is a subset of the C language, the procedures of programs written in this language analysis and analysis rel
LL(1)-grammar_analyse
- 编译原理上机实验:LL(1)语法分析。包含测试文本,本语法分析器可以实现对文本的语法分析。-Compiler theory on experiments: LL (1) parsing. Contains test text, the parser can parse the text.
word_analyse
- 编译原理上机实验:词法分析。包含测试文本,本词法分析器可以实现对文本的词法分析。-Compiler theory on experiments: lexical analysis. Contains test text, the lexical analyzer can be achieved on the text of lexical analysis.
PL0Compiler-C
- PL/0编译器C++/C版本 1. 测试文件必须是以testin.pl0命名的文件。 2. 成功运行测试程序后,会生成testout.txt的文件,里面包括代码、指令和运行结果。 3、First.cpp--只包含词法语法分析,Error.cpp--加入了出错处理,All.cpp--包含代码生成和解释程序,是完整编译器。-请键入文字或网站地址,或者上传文档。 取消 PL/0 biānyì qì C++/C bǎnběn 1. Cèshì wénjiàn bìxū shì yǐ
CP_test_1
- 编译原理实验 词法分析 一、实验目的: 通过设计编制调试一个具体的词法分析程序,加深对词法分析原理的理解。并掌握在对程序设计语言源程序进行扫描过程中将其分解为各类单词的词法分析方法。 二、实验内容 编制一个能够分析整数、小数、字符串、标识符、分隔符、运算符和关键字的词法分析程序。同时要能过滤行注释和块注释。 三、实验要求 1、词法规则 关键字: if、then、else、while、do、int、float、string、begin、en
morphology
- 1、给出各单词符号的类别编码。 2、词法分析程序应能发现输入串中的错误。 3、词法分析作为单独一遍编写,词法分析结果为二元式序列组成的中间文件。 4、设计两个测试用例(尽可能完备),并给出测试结果。-A given class of coding each word symbols. 2, lexical analysis program should be able to find errors in the input string. 3, again written as a
sdc2.0.1
- sdc语法分析程序,tcl语言编写,带测试实例-sdc parser in tcl by synopsys
Y
- 采用flex工具进行词法分析并结合yacc工具进行语法分析生成文法编译器 进行了完整的词法、语法分析 初始源文件4个:19210216.l,19210216.y,code.h,table.h, 运行过程: 先写出词法分析*.l文件和语法分析*.y文件。 然后运行CMD,进入DOS下,将目录切换到flex和bison及源码所在目录 1、flex 19210216.l 生成lex.yy.c 2、bison -d 19210216.y 生成1921
LexicalAnalysis
- 1、根据以下的正规式,编制正规文法,画出状态图; 标识符 <字母>(<字母>|<数字字符>)* 十进制整数 0 | ((1|2|3|4|5|6|7|8|9)(0|1|2|3|4|5|6|7|8|9)*) 八进制整数 0(1|2|3|4|5|6|7)(0|1|2|3|4|5|6|7)* 十六进制整数 0x(0|1|2|3|4|5|6|7|8|9|a|b|c|d|e|f)(0|1|2|3|4|5|6|7|8|9|a|b|c|d|e
bison-and-flex
- 利用bison和flex实现简单的词法分析以及语法分析,带有测试程序以及编译说明-Simple lexical analysis and parsing with bison and flex, with test programs and compile instructions
LTBEC
- LT码在删除信道(BEC)性能分析与仿真,通过改变删除概率来测试喷泉码开销与译码成功概率之间的关系。-The LT code analyzes the relationship between the fountain code overhead and the decoding success probability by changing the deletion probability in the Delete Channel (BEC) performance analysis and