搜索资源列表
词法分析编译原理实验c++
- 一个很不错的c++ 程序!是编译系统的第一个程序,主要功能实现词法分析!通过对文本的编译,实现词法分析-a very good procedures c! The build system is the first procedure, the main function of achieving lexical analysis! The text adopted by the compiler to achieve lexical analysis
maxent-2.4.0
- 基于统计的文本分析中,最为常用的最大熵算法,可直接调用,广泛用于词性标注,词义消岐等-based on statistical analysis of the text, the most commonly used of maximum entropy algorithm, can be called directly, widely used in tagging, Words such as Consumers qi
lexuretest
- 编译原理词法和语法分析,体内容是产生一个二元式文本文件,扩展名为dyd,可将Pascal程序(测试程序)分解成为一个一个的单词,并查“单词符号与种别对照表”得出其种别,用一数字表示,范围1-56(52-56分别对应保留字integer、real、boolean、char)。-compiler theory morphology and syntax analysis, body is a dual-generated text files, dyd the extension can be Pa
200218024郝亮
- 一个c++de的词法分析此程序可以通过读一个文本文件来进行词法分析-a lexical analysis of this procedure can read a text file for lexical analysis
小小的词法分析器
- 这是我们学习编译原理时做的一个程序. 是一个简单的词法分析程序.将一个文本文件时的推导规则进行.-This our compiler theory when learning to do a procedure. It is a simple lexical analysis procedure. A text file of the derivation rules.
yacc_lex
- 编译原理的一个小实例 YACC(Yet Another Compiler-Compiler)是LALR(1)分析器的自动生成工具,它的第一版于70年代初发表,是美国贝尔实验室的软件产品(作者为S.C.Johnson) YACC将一前后文无关文法转换为一LALR(1)分析表,并提供使用该分析表进行语法分析的总控程序yyparse().-compiler principles of a small example of YACC (Yet Another Compiler - Compiler) i
AjaxParser
- 词法分析的程序。核心函数是一个状态切换的函数 CAjaxParserDlg::Route。状态切换函数解根据一个 DFA 来对输入的文本进行分析。也就是说,如果你做一个新的DFA,就能分析新的词法。 DFA 的初始化在CAjaxParserDlg::OnInitDialog。- Lexical analysis procedure. The core function is condition cut function CAjaxParserDlg::Route. The condition
0503056316
- 实现对文本文档里的程序进行词法分析,在另一文件里输出分析结果-The realization of a text document in the lexical analysis process, in another document the results of the analysis output
subset
- 一个简单的词法分析子程序,可以分析简单文本-A simple lexical analysis routines can be simple text analysis
siewwq
- 词法分析器 可直接输入一个文本文档进行分析-Lexical analyzer can directly enter a text document analysis
LexicalParsers
- 对给定的程序通过词法分析器能够识别一个个单词符号,并以二元式(单词种别码,单词符号的属性值)显示。而本程序则是通过对给定路径的文件的分析后以单词符号和文字提示显示。-The procedures given by the lexical analyzer to recognize one word symbols, and binary-type (word types of ID, the word symbol property value) are displayed. While the
scaner2
- 对给定的程序通过词法分析器弄够识别一个个单词符号,并以二元式(单词种别码,单词符号的属性值)显示。而本程序则是通过对给定路径的文件的分析后以单词符号和文字提示显示。-The procedures given by the lexical analyzer words get enough to identify a symbol, and binary-type (other types of code words, words, symbols of the property value) a
yufafenxi
- 这是学习编译原理时,用C写的一个语法分析的程序,里面包含了分析的例子文本和分析结果文件,希望对初学者有帮助,大家互相帮忙呵-This is the principle of learning compile, use C to write a parser program, which includes examples of text and analysis of the outcome document, I hope to help beginners, we help each oth
20110915_src
- 建立一个针对LL(1)文法编译器的自动生成器。要完成此编译器的生成器需对源文件进行两遍处理:第一遍词法分析,第二遍语法分析。语法分析程序用LL(1)语法分析方法。首先输入定义好的文法书写文件(所用的文法可以用LL(1)分析),然后建立词法分析器,包括词法分析主程序、扫描器部分、关键字表等。经词法分析后分别计算所输入的文法的每个非终结符号的FIRST集合,每个非终结符号的FOLLOW集合,以及每个规则的SELECT集合,并判断任意一个非终结符号的任意两个规则的SELECT集的交集是不是都为空,如果
lexical-analyzer
- 对给定的程序通过词法分析器能够识别一个个单词符号,并以二元式(单词种别码,单词符号的属性值)显示。而本程序则是通过对给定路径的文件的分析后以单词符号和文字提示显示。-The procedure given by the lexical analyzer to recognize one word symbols, and binary type (other types of code word, the word symbols of attribute values) shows. And
cifafenxiqi
- 编译原理实验报告,词法分析器(C++版),简单实现都本程序则是通过对给定路径的文件的分析后以单词符号和文字提示显示-Lab report compiler theory, lexical analyzer (C++ version), a simple procedure to achieve all of this is given by the path of the file analysis in order to display the word symbol and text pro
Syntax-Analyzer
- Syntax Analyzer: this tool with nice GUI can analyze the simple C++ code for syntax errors! It will also tell you the line of syntax error! You could type the code or open a text file with code, and it is also possible to save a file with code.
cifafenxi
- 实验要求: 1.单词种别编码要求基本字、运算符、界符:一符一种;标识符:统一为一种;常量:按类型编码; 2.词法分析工作过程中建立符号表、常量表,并以文本文件形式输出; 3.词法分析的最后结果以文本文件形式输出; 4.完成对所设计词法分析器的功能测试,并给出测试数据和实验结果; 5.为增加程序可读性,请在程序中进行适当注释说明;-Experimental requirements: 1. Word kinds of other coding requirements o
Text
- 编译原理的语法分析器的java语言实现,能够很好的实现语法的分析-The compiler principles parser java language, good grammar analysis