-
使用lex yacc编译/小
一个使用lex/yacc的小型C编译器- Uses lex/yacc the small C compiler
- 2023-02-26 02:15:03下载
- 积分:1
-
词法分析器 对输入的程序进行分析,将关键字,保留字与系统标识符分开,并对其属性进行说明。 建立数组,将单词读入,对单词的ASCII码进行判断,将在ASCII码值...
词法分析器 对输入的程序进行分析,将关键字,保留字与系统标识符分开,并对其属性进行说明。 建立数组,将单词读入,对单词的ASCII码进行判断,将在ASCII码值在一定区间进行区分(使用if语句来判断),分开来后,对其所在ASCII值区间的不同,给予以不同的属性(比如:系统保留字…),词法分析器完成后要能识别+,-,=等字符。-lexical analyzer on the importation procedures for analysis, keyword, the word reservation system with separate identifier, and a description of their attributes. The establishment of an array, you read the word, the right word ASCII judgment, in ASCII value in a certain area and distinguish between (use to determine if statements), separately, its value lies ASCII range of different, to give a different properties (such as : system retain the word ...), after the completion of a lexical analyzer to identify,-, =, etc. characters.
- 2022-02-26 09:14:02下载
- 积分:1
-
c语言编译器完正版
c语言编译器完正版-c language compiler legal copy
- 2022-04-25 17:47:22下载
- 积分:1
-
LL (1) parser
LL(1)语法分析器,在任何时候,总控程序都是按照栈顶符号X和当前输入符号a行事的。对于任何(X,a),总控程序每次都执行下述三种可能的动作之一:
若X=a=’#’,则宣布分析成功,停止分析过程;
若X=a≠’#’,则把X从栈顶逐出,让a指向下一输入符号;
若X是一个非终结符,则查看分析表M。若M中存放着一条关于X的产生式,那么,首先把X逐出栈顶,然后,把产生式的右部符号按反序一一推进栈,同时做这个产生式相应的语义动作(目前不管)。若M[X,a]中存放着一条出错标志,则调用出错诊查程序Error。-LL (1) parser
- 2022-04-20 05:21:39下载
- 积分:1
-
A LL(1) parser, built by MS VC 6.0, an assignment of my Complier Principles co...
LL(1)的语法分析器,VC6.0编译器通过,输入输出的文件名详见代码,输出文件中的分析过程和编译原理课本要求类似,根据不同的句子可能需要重新调整对齐格式-A LL(1) parser, built by MS VC 6.0, an assignment of my Complier Principles course
- 2022-08-16 06:42:11下载
- 积分:1
-
示范利用 Delphi 制作 BASIC 程序语言解释器
示范利用 Delphi 制作 BASIC 程序语言解释器- The demonstration manufactures the BASIC program language
interpreter using Delphi
- 2022-09-08 14:30:03下载
- 积分:1
-
列车信号发生器,列车信号发生器
音频信号发生器 - Tonic train signalling generator tonic train signalling
generator
- 2022-06-17 03:33:41下载
- 积分:1
-
compiler theory of curriculum design, the importation of Boolean expressions, an...
编译原理课程设计,输入布尔表达式,然后有系统自动转换为逆波兰四元式-compiler theory of curriculum design, the importation of Boolean expressions, and then the system automatically converted to reverse Poland four yuan-
- 2022-03-23 19:58:03下载
- 积分:1
-
test for character recognition sofware
test for character recognition sofware
- 2023-03-30 12:05:04下载
- 积分:1
-
本代码为根据老师的课程设计要求做的小编译器的词法分析部分和语法分析部分,附件中有老师的要求文档,还有语法分析时使用到的分析表...
本代码为根据老师的课程设计要求做的小编译器的词法分析部分和语法分析部分,附件中有老师的要求文档,还有语法分析时使用到的分析表-This code is based on the teacher" s curriculum design requirements to do a small part of the compiler" s lexical analysis and syntax analysis section, in the annex to the request of the teacher documents, as well as the use of grammatical analysis to the analysis table
- 2022-03-21 23:02:52下载
- 积分:1