-
C语言语法检查器。
C语言语法检查器。-C syntactic checker
- 2023-07-10 14:25:03下载
- 积分:1
-
前些天写了个小语言的词法分析程序,因为前些天在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
-
input is a regular expression, you can use : lowercase letters or numbers, said...
输入一个正则表达式,可以使用: 小写字母或数字,表示终结符;*,闭包;+,并集;~,补集;E,空串;O,空集 然后程序将生成 相应的NFA,以及化简之后的DFA,最后再输入一个字符串,程序判断它是否满足该正则表达式-input is a regular expression, you can use : lowercase letters or numbers, said Fu end;* Closure; , And set; To complement the set; E, empty string; O, empty set procedures will then generate the corresponding NFA, and the simplification of the DFA after finally lose into a string, procedures judgment whether it is to meet the regular expression
- 2022-06-14 20:06:53下载
- 积分:1
-
flex的使用方法
flex的使用方法-the use of flex
- 2023-08-03 07:45:03下载
- 积分:1
-
C编译器源代码(超级牛b)
C编译器源代码(超级牛b)-C compiler source code (super cow b)
- 2022-03-19 16:59:42下载
- 积分:1
-
编译原理课程设计,词法分析,语法分析,语义分析等。
编译原理课程设计,词法分析,语法分析,语义分析等。-compiler theory curriculum design, lexical analysis, grammar analysis, semantic analysis.
- 2022-08-16 07:12:43下载
- 积分:1
-
A very simple BASIC interpreter. Quite compatible with Microsoft MBASIC (CP/M) a...
A very simple BASIC interpreter. Quite compatible with Microsoft MBASIC (CP/M) and GWBASIC (MS-DOS).
- 2022-01-26 06:17:10下载
- 积分:1
-
如果有人学习单片机,不如msp430,可以看看这些资料,对其学习很有用...
如果有人学习单片机,不如msp430,可以看看这些资料,对其学习很有用
-If someone learning single-chip, it is better to msp430, can look at such information useful to their learning
- 2022-01-27 23:04:13下载
- 积分:1
-
PICC code in HT
PICC code in HT-PICC for GLCD
- 2022-07-12 14:00:56下载
- 积分:1
-
flex,词法自动生成工具,他可以在极短时间内帮助产生编译器的词法c源程序...
flex,词法自动生成工具,他可以在极短时间内帮助产生编译器的词法c源程序-flex, automatically generated lexical tools in a very short time he can help the compiler generate c source of lexical
- 2023-05-13 10:00:03下载
- 积分:1