-
前些天写了个小语言的词法分析程序,因为前些天在VC知识库看到一个pascal词法分析的程序,觉得写得挺复杂的。其实词法分析程序的原理都是一样的,所以我想只要搞明...
前些天写了个小语言的词法分析程序,因为前些天在VC知识库看到一个pascal词法分析的程序,觉得写得挺复杂的。其实词法分析程序的原理都是一样的,所以我想只要搞明白了简单的词法分析程序,再写复杂的就不难了,无非是多加几个关键字,多写几个条件判断语句而已。词法分析是编译程序的基础,也是最简单的。好,现在让我们看程序吧。 先让我们看看这个小语言的文法吧-few days ago wrote a small language lexical analysis procedures, because the other day in the knowledge base to see a VC pascal lexical analysis procedures, find that quite complex. In fact, lexical analysis procedure is the same principle, I think if you understood a simple lexical analysis procedure to write complex it is not difficult, is nothing but add a few keywords and writing several conditions judgment statement it. Lexical analysis is the basis of compilers, as well as the most simple. Well, now let us look at the procedures it. Let us look at this small language grammar it
- 2022-08-08 01:17:36下载
- 积分:1
-
该文件主要是一个编译原理函数语言绘图器,可以利用起来翻译图象代码...
该文件主要是一个编译原理函数语言绘图器,可以利用起来翻译图象代码-the document is mainly a function of compiler theory language mapping device that can use up images code translation
- 2022-07-09 15:32:52下载
- 积分:1
-
t6963与8051的驱动程序
t6963与8051的驱动程序-t6963 8051 Driver
- 2022-03-22 05:16:25下载
- 积分:1
-
原理实验1源文件,编译输入输出,2个词法…
编译原理实验一源文件的输入输出、
二词法分析-Principle Experiment 1 source file to compile the input and output, two lexical analysis
- 2022-06-03 12:40:32下载
- 积分:1
-
FIR滤波器,经过编译!!!!!!无密码,解压就可用
FIR滤波器,经过编译!!!!!!无密码,解压就可用-FIR filter, after the compiler! ! ! ! ! ! No password, decompression can be used
- 2022-09-18 22:20:03下载
- 积分:1
-
an identification and case
一个识别c语言关键字和大小写转换的程序-an identification and case-insensitive language keyword conversion process
- 2023-07-27 21:25:02下载
- 积分:1
-
-
- 2022-06-13 21:40:01下载
- 积分:1
-
trigonometri program that I write in C
trigonometri program that I write in C-trigonometri program that I write in C++
- 2023-01-22 00:25:03下载
- 积分:1
-
构造LR(1)分析程序,利用它进行语法分析,判断给出的符号串是否为该文法识别的句子,了解LR(K)分析方法是严格的从左向右扫描,和自底向上的语法分析方法。...
构造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) analysis method is strict scan from left to right, and bottom-up syntax analysis.
- 2023-03-26 20:15:04下载
- 积分:1
-
没什么的 只是一个普通的编译原理的实验程序
没什么的 只是一个普通的编译原理的实验程序-it doesn t matter,it is a ordinary test program of complier pronciple
- 2022-05-16 17:27:23下载
- 积分:1