-
C语言写的PASCAL语言形态的语法分析器
c语言写的pascal词法语法分析器-c language writes pascal morphology grammar analyzer
- 2022-03-19 19:12:37下载
- 积分:1
-
编译原理,语法分析 ll(1),lr (0),slr(1)
编译原理,语法分析 ll(1),lr (0),slr(1)-compiler theory, syntax analysis ll (1), lr (1), lr (0), slr (1), etc.
- 2022-03-23 10:04:05下载
- 积分:1
-
NEC upd78f0300的自编程序样例,对78K0系列有都可以调用
NEC upd78f0300的自编程序样例,对78K0系列有都可以调用-NEC upd78f0300 sample of self-compiled program on the 78K0 series can be called
- 2022-03-25 06:03:31下载
- 积分:1
-
htp是一个HTML预处理器。页面可以用htp扩展的类HTML的宏编写。这可以简化维护一个一致外观的Web页面集....
htp是一个HTML预处理器。页面可以用htp扩展的类HTML的宏编写。这可以简化维护一个一致外观的Web页面集.-htp is a HTML pretreatment. The page may use the kind of HTML
great compilation which htp expands. This may simplify maintains a
consistent outward appearance the Web page collection
- 2022-03-14 09:42:38下载
- 积分:1
-
a LALR(1) grammar for C
a LALR(1) grammar for C
- 2022-05-14 15:42:34下载
- 积分:1
-
由于时间紧迫及事先准备不足,编译器最后定型时暴露出不少问题及不足之处,主要有以下一些方面: 不支持数组数据类型,这是文法分析器设计时的一个疏漏,由于时间关系...
由于时间紧迫及事先准备不足,编译器最后定型时暴露出不少问题及不足之处,主要有以下一些方面: 不支持数组数据类型,这是文法分析器设计时的一个疏漏,由于时间关系,最后只得把扫描器中已做好的相关的数组部分删去。 对于float数据类型的支持,直到语义分析都是正常的,也能生成相应的汇编代码,但由于我们对8086/8088指令系统本身了解不足,这样的汇编代码将只能做到含义上完全忠实于源程序,但不能运行。 对于局部变量的支持,则于时间紧迫,所有的局部变量全被处理成静态变量。使递归函数不能得到正确的结果。 对于函数调用语句,不进行参数匹配检查,如果参数数量不对,也将能通过编译,但运行时将产生非法操作。 对&& !等逻辑操作在最后生成代码时处理比较粗燥,生成的代码在逻辑复杂时将不能保证运行正常。 接下来有一些,不能说是缺陷,但必须说明的问题: 对于main函数,没有参数表,通回类型也必须为void,但如果写上参数表及其他返回类型也能编译通过,生成代码时将简单地忽略,不影响最后的代码的运行。 对于while,for,if语句,其语句体不管是一句还是多句,必须都有{}围起来。这跟C语言中若是一句则可省略{}不同。-Due to the time constraints and lack of preparation in advance, the compiler finalized when exposed numerous problems and shortcomings, mainly in the following aspects : no support for array data type, which is grammar analyzer design of an omission, because of the time, the final could only have scanners do phase customs array deleted. For float data types of support until semantic analysis is normal, and can generate the corresponding assembly code, but because of our 808
- 2022-01-26 16:03:11下载
- 积分:1
-
delphi实现的sql解析器,可以对各种sql语句进行解析,产生语法树。
delphi实现的sql解析器,可以对各种sql语句进行解析,产生语法树。-realize the sql parser delphi can parse the various sql statements, resulting in tree grammar.
- 2022-02-12 23:03:52下载
- 积分:1
-
这里以开始定义的PASCAL语言子集的源程序作为词法分析程序的输入数据。在词法分析中,自文 件头开始扫描源程序字符,一旦发现符合“单词”定义的源程序字符串时,将...
这里以开始定义的PASCAL语言子集的源程序作为词法分析程序的输入数据。在词法分析中,自文 件头开始扫描源程序字符,一旦发现符合“单词”定义的源程序字符串时,将它翻译成固定长度的单 词内部表示,并查填适当的信息表。经过词法分析后,源程序字符串(源程序的外部表示)被翻译成 具有等长信息的单词串(源程序的内部表示),并产生两个表格:常数表和标识符表,它们分别包含 了源程序中的所有常数和所有标识符。- Here starts the PASCAL language subset source program which
defines to take the lexical analyaer the data-in. In the lexical
analysis, starts from the article article to scan the source program
character, once discovered when conforms to "the word" the definition
source program character string, translates it the fixed length the
word interior to indicate, and looks up fills in the suitable
information table. After the lexical analysis, the source program
character string (source program exterior expression) is translated
has and so on the long information the word string (source program
internal expression), and produces two forms: The chart and the
identifier table, they have separately contained in source program all
constants and all identifiers.
- 2022-03-30 16:56:06下载
- 积分:1
-
一个基于算符优先分析程序,是我的课程设计程序,大家可以参考...
一个基于算符优先分析程序,是我的课程设计程序,大家可以参考-A priority based on operator analysis program, is my curriculum design process, everyone can refer to
- 2022-06-20 06:36:09下载
- 积分:1
-
9222 Series NEC 78K0S simulation initialization settings
NEC 78K0S系列 9222仿真初始化设置-9222 Series NEC 78K0S simulation initialization settings
- 2022-02-12 16:06:03下载
- 积分:1