java 编译原理 源码_编译原理课程设计 java实现编译器

大小: 0.22M

文件类型: .zip

金币: 1

下载: 0 次

发布日期: 2020-12-27

标签:

资源简介

java实现c语言编译器,包括词法分析,语法分析,语义分析,目标代码生成四个部分,总体实现编译器功能,有运行界面,代码精简,值得下载。

资源截图

2c110f02221e391240eb7eea9f8ae708.png

eba3d0ec17ec2d1831f4d156f4f1e5bc.png

3552c46e22ebcfc464f3c10a86e44c0a.png

879d952a27066c50af62baaf182607cf.png

48d70c6869425ef25e6f1e4adbebabf6.png

89154ac97619b7a8e6f2545995d37de6.png

597a3684ddeb4ec04c8b82afe5c4a140.png

499f8b98f7402dece0788dd778c7cd86.png

ed9772b99df5165904546554116f914e.png

3ff21f2b7b836af50fcabda5e09a4053.png

代码片段和文件信息

//#include//阶乘

void main()

{

int isumn;

i=0;

//int main //语义错误,非法标识符

//int 1m2;//词法出错

//scanf(“%d“n);//语法法出错

//int n;//语义错误,重复定义

//kk=9;//语义错误,没有定义

scanf(“%d“&n);

if(n<1){

sum=0;

}else{

sum=1;

}

while(i{

i=i+1;

sum=sum*i;

}

/*

for(int j=1;j<=n;j++){

sum=sum*j;

printf(“%d“sum);

}

*/

printf(“%d“sum);

}

属性            大小     日期    时间   名称

----------- ---------  ---------- -----  ----

目录           0  2015-12-30 16:02  C-Compiler\

文件         248  2011-12-18 14:32  C-Compiler\.classpath

文件         386  2016-01-21 10:50  C-Compiler\.project

目录           0  2015-12-29 13:48  C-Compiler\.settings\

文件         404  2015-12-29 13:47  C-Compiler\.settings\org.eclipse.core.resources.prefs

文件         629  2011-12-18 15:37  C-Compiler\.settings\org.eclipse.jdt.core.prefs

目录           0  2016-01-21 10:50  C-Compiler\bin\

目录           0  2016-01-21 10:50  C-Compiler\bin\com\

目录           0  2016-01-21 10:50  C-Compiler\bin\com\compiler\

文件        2932  2016-01-21 10:50  C-Compiler\bin\com\compiler\AnalyseNode.class

文件        9818  2016-01-21 10:50  C-Compiler\bin\com\compiler\Asm.class

文件         602  2016-01-21 10:50  C-Compiler\bin\com\compiler\Error.class

文件         698  2016-01-21 10:50  C-Compiler\bin\com\compiler\FourElement.class

文件       14244  2016-01-21 10:50  C-Compiler\bin\com\compiler\LexAnalyse.class

文件       24504  2016-01-21 10:50  C-Compiler\bin\com\compiler\Parser.class

文件         710  2016-01-21 10:50  C-Compiler\bin\com\compiler\Typeword.class

文件        2830  2016-01-21 10:50  C-Compiler\bin\com\compiler\Word.class

目录           0  2016-01-21 10:50  C-Compiler\bin\com\view\

文件        1548  2016-01-21 10:50  C-Compiler\bin\com\view\Mainform$1.class

文件         698  2016-01-21 10:50  C-Compiler\bin\com\view\Mainform$2.class

文件        1818  2016-01-21 10:50  C-Compiler\bin\com\view\Mainform$3.class

文件        2038  2016-01-21 10:50  C-Compiler\bin\com\view\Mainform$4.class

文件        1721  2016-01-21 10:50  C-Compiler\bin\com\view\Mainform$5.class

文件        2635  2016-01-21 10:50  C-Compiler\bin\com\view\Mainform$6.class

文件        7642  2016-01-21 10:50  C-Compiler\bin\com\view\Mainform.class

目录           0  2015-12-29 13:48  C-Compiler\result\

文件        1279  2016-01-04 21:35  C-Compiler\result\c_to_asm.asm

文件          96  2016-01-04 21:35  C-Compiler\result\FourElement.txt

文件       38428  2015-12-29 15:41  C-Compiler\result\LL1.txt

文件        2829  2015-12-29 15:22  C-Compiler\result\wordList.txt

目录           0  2015-12-29 13:48  C-Compiler\src\

............此处省略19个文件信息

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值