-
这是一个文法分析器,很方便,只要输入句子,程序会自动分析,如果错误也会提示...
这是一个文法分析器,很方便,只要输入句子,程序会自动分析,如果错误也会提示-It s a grammer analyzer,which is convenience,if you input sentence,program will automatic analyse and clue to if it is error.
- 2023-02-26 14:45:03下载
- 积分:1
-
C_minus BNF language syntax definition of procedures from the list of statement...
C_minus语言的BNF语法定义 程序由声明的列表(或序列)组成,声明可以是函数或变量声明,顺序是任意的。至少必须有一个声明。接下来是语义限制(这些在C中不会出现)。所有的变量和函数在使用前必须声明(这避免了向后backpatching引用)。程序中最后的声明必须是一个函数声明,名字为main。注意,C-缺乏原型,因此声明和定义之间没有区别(像C一样)。-C_minus BNF language syntax definition of procedures from the list of statement (or sequence), with a statement can be variable or function statement, the order is arbitrary. There must be at least one statement. Next is the semantic constraints (these will not arise C). All the variables and functions to be used in the statement (which avoids the use Backpatching backwards). Procedures must be the last statement is a function declaration, the name of the main. Attention C- lack of a prototype, and the definition of a statement is no difference between (the same as C).
- 2022-03-04 15:33:26下载
- 积分:1
-
一个自己写的NFA转DFA的程序,编译的作业,很不错哦!
一个自己写的NFA转DFA的程序,编译的作业,很不错哦!-Write their own procedures for NFA to DFA, the compiler of the operation, is pretty good, oh!
- 2023-01-31 07:30:03下载
- 积分:1
-
压缩文法等价变换,输入一个文法,可以对其进行等价变换,很方便...
压缩文法等价变换,输入一个文法,可以对其进行等价变换,很方便-compression grammar equivalent transformation, importation of a grammar can transform its equivalent, is a convenient
- 2022-03-12 02:47:39下载
- 积分:1
-
词法分析程序,可对以下的C源程序进行分析
词法分析程序,可对以下的C源程序进行分析:main() {int a[12] ,sum for(i=1 i=1 j--){ if(i==j&&i+j==13)sum+=a[i][j] } } printf("%c",sum) }-lexical analysis procedures, right below the C source code analysis : main () (int a [12] [12], the sum for (i = 1 ilt; I = 12) (for (j = 1 JLT; J = 12) Scanf ( "% d", a [i] [j])) for (i = 12 IGT; a = i--) (for (j = 12 IGT; = 1 j--) (if (i == ji j == 13) sum = a [i] [j])) printf ( "% c", sum
- 2022-07-19 15:44:58下载
- 积分:1
-
pl0修改后的源程序和报告
(1) 修改后的PL/0语言文本。包含词法分析(正规式),语法分析(BNF)。
(2) 有关修改后的PL/0编译/解释器的说...
pl0修改后的源程序和报告
(1) 修改后的PL/0语言文本。包含词法分析(正规式),语法分析(BNF)。
(2) 有关修改后的PL/0编译/解释器的说明。详细说明你的编译器是如何编译新的PL/0语言程序的。指出你的程序中最精彩的部分,以及你为什么这样做,你是如何控制和恢复语义错误的。
(3) 给出你所改动后的编译器源程序清单,并标记出你所修改的部分。比较你的编译器和原来的编译器之间的差别。
(4) 说明你的编译器中可能存在的错误。
(5) 总结经验与教训,如果重做一遍,你会有哪些新的改进?
-err
- 2022-01-21 20:50:44下载
- 积分:1
-
一个简单的编译器,可以实现简单的画图语句的解析,最终画出简单的图形。涉及程序编译器的实现几个步骤,词法分析,语法分析,语义分析,等等。...
一个简单的编译器,可以实现简单的画图语句的解析,最终画出简单的图形。涉及程序编译器的实现几个步骤,词法分析,语法分析,语义分析,等等。-a simple compiler can achieve a simple drawing of analytic statement, the final draw simple graphics. The procedures compiler in several steps, lexical analysis, grammar analysis, semantic analysis, and so on.
- 2022-04-14 21:30:32下载
- 积分:1
-
bochs完整的虚拟机,编译通过哦
bochs完整的虚拟机,编译通过哦-bochs integrity hypothesized machine, the translation passes oh
- 2022-08-22 22:31:07下载
- 积分:1
-
反编译专家,很好用的。支持右键,支持文件夹反编译
反编译专家,很好用的。支持右键,支持文件夹反编译-Decompile expert, well used. Support the right to support decompile folder
- 2023-07-17 16:20:03下载
- 积分:1
-
词法分析的程序。核心函数是一个状态切换的函数 CAjaxParserDlg::Route。状态切换函数解根据一个 DFA 来对输入的文本进行分析。也就是说,如果
词法分析的程序。核心函数是一个状态切换的函数 CAjaxParserDlg::Route。状态切换函数解根据一个 DFA 来对输入的文本进行分析。也就是说,如果你做一个新的DFA,就能分析新的词法。 DFA 的初始化在CAjaxParserDlg::OnInitDialog。- Lexical analysis procedure. The core function is condition cut
function CAjaxParserDlg::Route. The condition cut function solution
acts according to DFA to come to the input text to carry on the
analysis. In other words, if you make new DFA, can analyze the new
morphology. DFA initialization in CAjaxParserDlg::OnInitDialog.
- 2022-03-29 21:14:24下载
- 积分:1