-
前些天写了个小语言的词法分析程序,因为前些天在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
-
C编写自己的语义的编译器,你可以用它给你homew…
自己用纯C语言做的词法编译器,可能大家作业能用的上吧,-A semantics compiler in c programed by myself,maybe you can use it foe you homework
- 2022-01-25 14:43:05下载
- 积分:1
-
编译原理LL1分析表
编译原理LL1分析表- Translation principle LL1 analytical table
- 2022-11-06 10:10:03下载
- 积分:1
-
编译器很好用,详细
编译器很好用,详细-compiler useful, detailed
- 2022-03-17 07:33:41下载
- 积分:1
-
编译原理 课件 蛮实用的
编译原理 课件 蛮实用的-bianyiyuanli
- 2022-01-24 10:00:01下载
- 积分:1
-
rs编码和解码功能函数,在网上找到的不少RS编码函数中,这个是比较完整的...
rs编码和解码功能函数,在网上找到的不少RS编码函数中,这个是比较完整的-rs encoding and decoding function, in-line to find a lot of RS coding function, this is a relatively complete
- 2022-02-05 08:13:25下载
- 积分:1
-
用YACC写的语法分析器
用YACC写的语法分析器- Grammar analyzer writes which with YACC
- 2022-06-17 16:24:20下载
- 积分:1
-
实现词法分析,用VB写的对结果进行分类显示
实现词法分析,用VB写的对结果进行分类显示-achieve lexical analysis using VB wrote to the classification results show
- 2022-01-23 10:12:35下载
- 积分:1
-
flex的使用方法
flex的使用方法-the use of flex
- 2023-08-03 07:45:03下载
- 积分:1
-
has some history of C language compiler, originally developed for Motorola 68000...
一款拥有一定历史的C语言编译器,最初为MOTOROLA 68000 开发,后来为其他一些通用处理器实现了后端,支持C99中的大部分新特性。-has some history of C language compiler, originally developed for Motorola 68000, Later, some of the other processor to achieve a common back-end, the C99 support most of the new properties.
- 2023-04-14 06:00:04下载
- 积分:1