-
这里以开始定义的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
-
Opens the 2.tab.c translation movement, a.txt is measures the
test the PL/0 proc...
打开2.tab.c编译运行,a.txt为测试用的PL/0程序。 2.output中有所有的产生式和LALR分析表的所有状态。- Opens the 2.tab.c translation movement, a.txt is measures the
test the PL/0 procedure. In 2.output has all production patterns and
LALR analytical table all conditions.
- 2022-02-07 22:42:39下载
- 积分:1
-
一个简易C语言解释器,语法规范见设计文档,感觉挺好用的,至少可以借鉴一下设计过程...
一个简易C语言解释器,语法规范见设计文档,感觉挺好用的,至少可以借鉴一下设计过程-a simple C language interpreter, syntax, see the design documents, the feeling is very good. at least we can draw on this design process
- 2022-05-16 11:07:55下载
- 积分:1
-
java实现的一个pascal编译器,可以运行。
java实现的一个pascal编译器,可以运行。-achieve a pascal compiler can run.
- 2022-07-28 03:56:23下载
- 积分:1
-
一个程序,用于判定给定的文法是否为算符优先文法。 实现了:1.文法的机内表示;2. FIRSTVT集和LASTVT集的计算; 3. 算符优先关系矩阵的构造。...
一个程序,用于判定给定的文法是否为算符优先文法。 实现了:1.文法的机内表示;2. FIRSTVT集和LASTVT集的计算; 3. 算符优先关系矩阵的构造。-a procedure for the determination of grammar to whether the operator priority to grammar. Realized : 1. Grammar said the machines; 2. LASTVT FIRSTVT sets and set computing; 3. Operator precedence relations of the matrix structure.
- 2022-02-18 16:37:46下载
- 积分:1
-
有用,非常得有用。
有用,非常得有用。- Useful, extremely usefully.
- 2022-09-02 07:25:02下载
- 积分:1
-
编译器
compiler
- 2022-01-25 18:35:14下载
- 积分:1
-
编译原理课程设计,输入布尔表达式,然后有系统自动转换为逆波兰四元式...
编译原理课程设计,输入布尔表达式,然后有系统自动转换为逆波兰四元式-compiler theory of curriculum design, the importation of Boolean expressions, and then the system automatically converted to reverse Poland four yuan-
- 2022-02-26 06:19:56下载
- 积分:1
-
一个子集的词法分析器。输入程序,输出TOKEN串各符号表,并存入文件。...
一个子集的词法分析器。输入程序,输出TOKEN串各符号表,并存入文件。-A accidence analyzer of subset. which can inpute TOKEN cluster and save if you inpute program
- 2022-12-21 21:00:04下载
- 积分:1
-
TINYC source code
TINYC的源代码-TINYC source code
- 2023-04-16 17:45:04下载
- 积分:1