|
[原创]又找回了当初的激情
现在做啥语言呢,10k 肯定轻松的。 |
|
|
|
|
|
[原创] LL(1) 语法分析器解析算数表达式生成AST,和我学习编译的原因
internetH 我写过词法分析器,LALR的语法分析器。做研究可以。利用所学的东西做分析其他东西也没问题,如果真要去实现编译器,估计作者不行,不是所智力不行。很多条件制约,而且性能优化要花很长时间。我的LALR语法分 ...老哥 你说的是没问题的, 这件事本身就是一个循序渐进的过程。学习的过程,而且我相信我可以写出来的。VMP编译器相对说C语言编译器, 词法单元少,文法简单,相对来说编译器前端的工作量很少。编译器后端可以自己写 就自己写,如果实在写不出来交给LLVM也是未尝不可的。 |
|
[原创] LL(1) 语法分析器解析算数表达式生成AST,和我学习编译的原因
hackevil 理论上肯定没问题,vmp里面数据流和控制流的陷阱处理起来就够搞死几个人了。理想很丰满,现实很骨感,单纯一个反编译器要从理论到实际应用那是得经历多少洗礼,目前仍不能完全应对各种对抗,更何况是对vmp。反 ...而且个人认为 写VMP 反编译器,要比写 TCC语言编译器 还要来的简单的多, 毕竟词法单元和文法都不是一个数量级的。VMP的词法单元和文法结构相对来说简单的多。 |
|
[原创] LL(1) 语法分析器解析算数表达式生成AST,和我学习编译的原因
hackevil 理论上肯定没问题,vmp里面数据流和控制流的陷阱处理起来就够搞死几个人了。理想很丰满,现实很骨感,单纯一个反编译器要从理论到实际应用那是得经历多少洗礼,目前仍不能完全应对各种对抗,更何况是对vmp。反 ...总要有人去尝试的... |
|
|
|
[原创] LL(1) 语法分析器解析算数表达式生成AST,和我学习编译的原因
IamHuskar 不是,我是说书有点像以前看过的那本手动写编译器SCC的某些章节。那本书的作者是基于TCC做的。那本书 基本就是把 TCC 代码搬过去了 |
|
[原创] LL(1) 语法分析器解析算数表达式生成AST,和我学习编译的原因
IamHuskar 这是自己动手写编译器SCC的书吧?作者的代码是用的TCC的这个都是我根据编译原理书上写的代码,tcc是c语言写的好吗 |
|
|
|
[推荐]『编程技术』精选贴分类汇总
mark |
|
|
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值