资源列表
lr
- 构造LR(1)分析程序,利用它进行语法分析,判断给出的符号串是否为该文法识别的句子,了解LR(K)分析方法是严格的从左向右扫描,和自底向上的语法分析方法。-tectonic LR (1) analysis procedure, and use it for syntax analysis, judgment, given the string of symbols to whether the sentence grammar recognition, understanding LR (K)
wordcheck
- 一个简单的C词法分析器 能识别数字,标志符(关键字,变量)和一些运算符.-a simple C lexical analyzer can identify the number, identifier (keyword, variable), and some Operators.
词法分析器6
- 这是一个词法分析的小程序,希望大家多多指教-This is a lexical analysis of small procedures, we hope the exhibitions
Copy of LR0ForWin
- lr(0),语法分析,界面很漂亮,利用C++语言,可生成语法树-lr(0),parsing, interface is beautiful,use c++,can create syntax tree
一个小语言的yufa
- 因为前些天在VC知识库看到一个pascal词法分析的程序,觉得写得挺复杂的。其实词法分析程序的原理都是一样的,所以我想只要搞明白了简单的词法分析程序,再写复杂的就不难了,无非是多加几个关键字,多写几个条件判断语句而已。词法分析是编译程序的基础,也是最简单的。好,现在让我们看程序吧。 先让我们看看这个小语言的文法吧。-few days ago because of the knowledge base to see a VC pascal lexical analysis procedures,
020833
- 这是个编译原理的课程设计,是一个DO-WHILE循环语句的翻译程序设计,包括词法分析,语法分析,生成中间代码四元式。-This is a compiler theory of curriculum design, is a DO-WHILE loop is the translation program design, including lexical analysis, grammar analysis, code generation middle-4 yuan.
FoxCompile
- 本程序包括详细的词法分析,语法分析,语义分析和中间代码生成,写得很不错,可读性很强。是关于循环语句的翻译-this procedure include a detailed analysis of the morphology, syntax, semantic analysis and intermediate code generation, very good, very readable. On the loop is the translation
scanner_pre
- 一个子集的词法分析器。输入程序,输出TOKEN串各符号表,并存入文件。-A accidence analyzer of subset. which can inpute TOKEN cluster and save if you inpute program
词法分析gzw
- 这个是我编译原理课程设计的 内容,呵呵 我遍的是词法分析,基本的功能都能够实现,如词法分析,词法查错,删除无实质意义的字符等,不懂编译的就不用看了,编译真的很难!!!不过好象没什么用-this my compiler theory of curriculum design, Oh my times of lexical analysis, the basic functions are to achieve, such as lexical analysis, lexical troublesh
编译四个实习内容
- 这是我们学校平时实习的四个内容:词法分析、递归下降子程序、ll1语法分析、lr0语法分析 是我用c++编写的。-This our peacetime training schools of the four elements : lexical analysis, recursive decline subroutine, ll1 syntax analysis, lr0 syntax analysis is used c prepared.
reparse
- 功能比较强的正则表达式分析器,支持重复次数。尝试完全采用C++实现。可能速度不快。-function relatively strong in the regular expression analyzer, the number of repeat support. C to achieve completely. May slow.
cfanalysist
- 实现了 词法编译器的功能 在编译成序的 过程中,词法编译是第一步 此程序 是实现对词法的检查,纠错,以及最终的编译!~-realized accidence Compiler Compiler function in sequence into the process, the first step is to compile morphology of this procedure is to check the lexical and correlation, and, ultimately