-
编译原理,语法分析 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
-
vc实现的pl0编译器,有读取输出功能
vc实现的pl0编译器,有读取输出功能-read() -write(),这个源码对初学编译原理者有很好的指导作用,我当初学的时候用了3天看懂了源码,也对编译原理更加理解了,毕竟只学理论不看代码是不可能真正理解的,原作者是dwing,我对代码做了一些修改,在此感谢dwing提供的代码-vc achieve pl0 compiler, a reader output- read ()- write (), the source for beginners compiler principles are very good role in guiding, I had time to study the use of three days to read the source code, but also to build a greater understanding of the tenets of all, the theory is not see the code is impossible to truly understand the original author dwing yes, I made some code changes like to thank the code dwing
- 2022-10-10 13:20:03下载
- 积分:1
-
这个语法分析器用到的是自顶向下的递归调用的方法,根据Cminus语言的文法规则 的BNF范式编写递归调用的代码,parse方法是程序的入口,它调用的stmt_s...
这个语法分析器用到的是自顶向下的递归调用的方法,根据Cminus语言的文法规则 的BNF范式编写递归调用的代码,parse方法是程序的入口,它调用的stmt_sequence完成整个语法分析工作,stmt_sequence背后是12个互相调用的方法,它本身也在语法分析的过程中被调用到。
每个方法在最后会返回一个构造好的节点DefaultMutableTreeNode节点t给调用它的方法,然后调用它的方法用这个返回的节点继续构造,最后语法分析完成后会返回一棵完全构造好了的树节点,然后将这个树节点作为根节点生成一个树控件JTree显示到窗体程序上
-CMM parser
- 2023-07-09 15:45:03下载
- 积分:1
-
编译器,词法分析和语法分析,里面利用到了哈希表来加快搜索字符表速度....
编译器,词法分析和语法分析,里面利用到了哈希表来加快搜索字符表速度.-compiler, lexical analysis and parsing, to use inside the hash table to expedite the search speed character tables.
- 2022-01-31 23:12:32下载
- 积分:1
-
一个语法分析程序,C++写的,内含原码和exe文件. 开发工具:DEV
一个语法分析程序,C++写的,内含原码和exe文件. 开发工具:DEV-C-a program of parsing,write in c++,which include original code and exe file.develope tools:DEV-C
- 2022-06-20 09:28:38下载
- 积分:1
-
这是一个文法分析器,很方便,只要输入句子,程序会自动分析,如果错误也会提示...
这是一个文法分析器,很方便,只要输入句子,程序会自动分析,如果错误也会提示-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
-
#包括“定义。”
#include "define.h"
#include
#include
#include
#include
FILE *fp
/*//////////////////////////////////////////////////////////////////////////////
This is a pretreatment.
/////////////////////////////////////////////////////////////////////////////*/
void readIntoBuffer(char buffer[256])
{
char ch1
char temp
int i
for(i=0 i
- 2022-07-10 06:26:26下载
- 积分:1
-
Expression computational procedure
表达式的计算程序- Expression computational procedure
- 2023-04-21 10:35:04下载
- 积分:1
-
简单的词法分析器,真的很简单,优点是容易看懂,适合于初学者...
简单的词法分析器,真的很简单,优点是容易看懂,适合于初学者-simple lexical analyzer, it is really simple, easy to understand advantage is suitable for beginners
- 2022-01-25 22:45:28下载
- 积分:1
-
简单的词法分析,可以识别关键字错误,识别无效符号等等,通用!...
简单的词法分析,可以识别关键字错误,识别无效符号等等,通用!-Simple lexical analysis to identify the wrong keywords, identify invalid symbols and so on, General!
- 2022-03-03 08:16:24下载
- 积分:1