搜索资源列表
lexicalanalyzer
- cmm语言词法分析程序,这是本人第一次独立的完成一个小实验,望大家多指教-cmm language lexical analysis procedures, this is my first independent completion of a small experiment, hope all parties to have more advice
Compile_principle_experiment
- 编译原理实验+报告+流程图 词法分析实验 语法分析 语义分析 每个实验都附上详细的流程图与代码-Compile principle experiment+ report+ lexical analysis of experimental flow chart parsing semantic analysis For each experiment, with detailed flow chart and code
compiling
- 编译原理实验:词法分析、语法分析、语义分析,包含代码和报告、构建分析表、消除左递归、语法分析、流程图-Compiler Principle Experiment: lexical analysis, syntax analysis, semantic analysis, including code and reports, construction of the table, to eliminate left-recursion, parsing, flow chart
compile
- 编译原理 词法分析程序设计 [实验内容]:根据某文法,构造一基本词法分析程序。找出该语言的关键字、标识符、整数以及其他一些特殊符号,给出单词的种类和值。-Compilation Principle lexical analysis program design [experiment content]: According to a grammar, the basic structure of a lexical analysis program. To identify the la
Compiler
- 使用LEX和yacc实现的C—语言的词法分析器和语法分析器,采用的是LALR算法,完整的编译原理实验报告-LEX and yacc use to achieve the C-language lexical analyzer and parser, LALR uses algorithms to compile a complete report of principle experiment
analysis-and-code-generation-of-Tiny
- 编译原理实验,编译TINY及其词法分析、语法分析、语义分析、代码生成,其中包含实验报告分析、代码和结果。-Compiler theory test, compile TINY and lexical analysis, syntax analysis, semantic analysis, code generation, which includes analysis of test reports, code and results.
0082657
- 词法分析,编译原理课上的实验。比较容易懂得-Lexical analysis, compiler theory class experiment. Easier to understand
cifafenxi
- 通过本实验的编程实践,使学生了解词法分析的任务,掌握词法分析程序设计的原理和构造方法,使学生对编译的基本概念、原理和方法有完整的和清楚的理解,并能正确地、熟练地运用-Through the experimental programming practice, so that students understand the task of lexical analysis, to grasp the principle of lexical analysis program design and
yffx
- 编译原理实验,语法分析词法分析程序源代码,用C++写的-Compiler Principle Experiment, lexical analysis syntax analysis program source code, written with C++
compile
- 大学课本的编译原理实验代码,全部自己实现,无错,包括词法分析、语法分析和解释执行三部分,第二和第三部分在run一个文件内,Gun C编译即可执行,而且有可供编译的示例程序,供大家学习。-school compile test code
word_analyse
- 编译原理上机实验:词法分析。包含测试文本,本词法分析器可以实现对文本的词法分析。-Compiler theory on experiments: lexical analysis. Contains test text, the lexical analyzer can be achieved on the text of lexical analysis.
lexAnalysis
- 实验一:C++源代码单词扫描程序(词法分析) 功能: (1)C++源代码扫描程序识别C++记号。 C++语言包含了几种类型的记号:标识符,关键字,数(包括整数、浮点数),字符串、注释、特殊符号(分界符)和运算符号等。 (2)打开一个C++源文件,打印出所有以上的记号。 (3)要求应用程序应为Windows界面。 (4)选作部分:为了提高C++源程序的可读性,C++程序在书写过程中加入了空行、空格、缩进、注释等。假设你想牺牲可读性,以节省磁盘空间,那么你可以存贮一个
lex
- 基于C语言编写的词法分析实验,能够对短语进行分析并给出正确的标志符号。-Based on the C language lexical analysis of experiments, analysis and be able to give the correct phrase glyph.
CPP-source-word-scanner
- 实验一:C++源代码单词扫描程序(词法分析) 功能: (1)C++源代码扫描程序识别C++记号。 C++语言包含了几种类型的记号:标识符,关键字,数(包括整数、浮点数),字符串、注释、特殊符号(分界符)和运算符号等。 (2)打开一个C++源文件,打印出所有以上的记号。 (3)要求应用程序应为Windows界面。 (4)选作部分:为了提高C++源程序的可读性,C++程序在书写过程中加入了空行、空格、缩进、注释等。假设你想牺牲可读性,以节省磁盘空间,那么你
CP_test_1
- 编译原理实验 词法分析 一、实验目的: 通过设计编制调试一个具体的词法分析程序,加深对词法分析原理的理解。并掌握在对程序设计语言源程序进行扫描过程中将其分解为各类单词的词法分析方法。 二、实验内容 编制一个能够分析整数、小数、字符串、标识符、分隔符、运算符和关键字的词法分析程序。同时要能过滤行注释和块注释。 三、实验要求 1、词法规则 关键字: if、then、else、while、do、int、float、string、begin、en
4.2
- 上海大学编译原理实验作业 借助语法分析和词法分析 语义分析 输入:2+3*5=17-Compiler principle experiment jobs Shanghai University With parsing and lexical analysis Semantic Analysis Input: 2+3* 5 = 17
实验一
- 简单的小程序,完成课程设计的一部分,词法分析(Simple small program to complete part of the curriculum design, lexical analysis)
实验1
- 预先设置种别码,再将一串语句的词根据种别码进行识别并输出(Identify the words of a sentence.)
flex&yacc
- 实现编译原理实验的词法分析和语法分析,最终生成产生式。(The lexical analysis and grammatical analysis of the compiling principle experiment are finally generated.)
b15
- 关于词法分析的一份实验报告,设计并实现一个词法分析器,实现对指定位置的类C语言源程序文本文件的读取,并能够对该源程序中的所有单词进行分类,指出其所属类型,实现简单的词法分析操作。(lexical analyzer is designed and implemented to read the text files of the class C source program of the specified location, and classify all the words in the s