搜索资源列表
用Java编写HTML文件分析程序
- 用Java编写HTML文件分析程序 一、概述 Web服务器的核心是对Html文件中的各标记(Tag)作出正确的分析,一种编程语言的解释程序也是对源文件中的保留字进行分析再做解释的。实际应用中,我们也经常会碰到需要对某一特定类型文件进行要害字分析的情况,比如,需要将某个HTML文件下载并同时下载与之相关的.gif、.class等文件,此时就要求对HTML文件中的标记进行分离,找出所需的文件名及目录。在Java出现以前,类似工作需要对文件中的每个字符进行分析,从中找出所需部
语法词法分析器
- 词法语法分析器,学习编译原理时做的词法和语法分析程序.词法和语法分析封装在一个类CFenXi中, 程序在Visual C++6.0下调试通过.程序采用单文档设计,利用了分割窗体技术-This is a syntax_accidence analyzer made when I study compiling principle.The syntax and accidence analyzer is encapsuled in a class called CFenxi.The program
用VC++编制的一个递归下降分析程序
- 用VC++编制的一个递归下降分析程序,实现对词法分析程序所提供的单词序列的语法检查和结构分析。,With VC++ Prepared a recursive descent parser to achieve lexical analysis procedure provided by the word sequence and structure analysis of grammar checker.
LL1ParsingCode
- LL1语法分析程序,输入文法表达式能够自动输出预测分析表,判断是否为LL1文法,还可以再输入任意的一个句子,然后对其进行分析,给出分析进栈出战的详细过程-LL1 parser, enter the grammar of expression that can automatically predict the output table to determine whether the LL1 grammar, you can enter any of a sentence, and then a
yufa
- 利用C语言编制递归下降分析程序,并对简单语言进行语法分析,实现对词法分析程序所提供的单词序列的语法检查和结构分析。-The use of C language drop analysis of recursive procedures, and simple language syntax analysis, the realization of the lexical analysis procedure provided by the grammar checker word sequenc
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)
SLR1
- 该程序为一个手工编码实现的简单SLR语法分析器,其词法分析器调用接口为lex(),语法分析调用接口为SLR1()。-The program is a simple hand-coded implementation SLR parser, the lexical analyzer is called interface lex (), parsing call interface for the SLR1 ().
3
- 语法分析的好的vc程序- Grammar analysis good vc procedure
yufafenxi
- 用VC++实现的编译原理中的语法分析程序,内容详尽具体,可执行程序齐全!-With VC++ Compiler to achieve the principle of syntax analysis procedures, and detailed specific and complete executable programs!
cmm-yacc
- 使用yacc和lex编写的cmm语言的词法分析和语法分析程序.-Using yacc and lex prepared cmm language lexical analysis and syntax analysis program.
1345135133
- 利用c语言编制递归下降分析程序,并对简单语言进行语法分析-C language using recursive descent parser, and a simple language syntax analysis
cifafenxi
- c语言实现语法分析程序,很全面,有完整的实验报告,希望可以对同志们有所帮助-c language parser, it is comprehensive, complete experimental report, hope that can help comrades
WordsAndGrammarAnalysis
- 6个不同的词法语法分析程序源代码,或者说通用c的编译器源码,3个c++控制台程序,3个mfc应用程序,-Six different lexical parsing source code, or common-source compiler c, 3 c++ console process, three mfc application, huh, huh
WebSite1
- 一个超级经典的词法和语法分析程序(附加源代码).从词法分析的输出过渡到语法分析-A super-classic lexical and syntax analysis program (source code attached). The output from the lexical analysis of the transition to a grammatical analysis
Principles-of-curriculum-design
- 编译原理课程设计总结报告 1.设计题目及相关内容 本课程设计完成的是递归下降分析法。对算术表达式和赋值语句进行语义分析并生成四元式序列。其中,本设计用C语言对简单的pascal语言子集编制一个编译程序。语义分析输入的是语法分析后提供的单词串,而语法分析的输入是词法分析的程序所提供的单词序列。要求把语法分析程序和词法分析都作为子程序调用,其中输入字符串要用文件操作。 2.运行环境(软、硬件环境) 硬件环境:方正电脑,P4CPU,512M内存 软件环境:Visualc+
Recursive_descent_parser
- 通过设计、编制、调试一个递归下降语法分析程序,实现对词法分析程序所提供的单词序列进行语法检查和结构分析,掌握常用的语法分析方法。通过本实验,应达到以下目标: 1、掌握从源程序文件中读取有效字符的方法和产生源程序的内部表示文件的方法。 2、掌握词法分析的实现方法。 3、上机调试编出的词法分析程序。 -By designing, developing, debugging a recursive descent parser, lexical analysis procedure t
parserC
- 编译原理,递归下降语法分析程序C,可接可编译-Compiler theory, recursive descent parser C, which can be accessed can be compiled
Compile-principle-experiment1-6
- 编译原理实验指导书 实验一 词法分析程序(扫描器)的设计 实验二 递归下降语法分析程序设计 实验三 LL(1)语法分析器设计 实验四 算符优先分析器设计 实验五 LR分析器设计 实验六 语法制导翻译程序设计-Compile term Principle Experiment Experimental Analysis of Instruction Program (scanner) is designed to test two recursive descent par
实验二
- 根据算符优先文法的语法分析思想实现语法分析程序(According to the syntax analysis of operator precedence grammar, the syntax analysis program is implemented)
bianyi_exe2
- 编译原理语法分析程序,根据词法分析的输出结果,结合语法规则,建立抽象语法分析树(Compilation principle grammar analysis program, according to the lexical analysis of the output results, combined with syntax rules, the establishment of abstract syntax analysis tree)