摘要: BIT祝威博客汇总(Blog Index) 目测我已经写了好几十篇博文,再这样下去就不好找了。因此将此汇总帖置顶,并即时更新,以方便查找(Ctrl+F即可)。 带有“推荐”是我觉得可以见人的,推荐大家(也包括我)没事看看,温故知新。 阅读全文
posted @ 2014-07-13 08:40 BIT祝威 阅读(10771) 评论(8) 推荐(7) 编辑
摘要: 究竟是如何设计的电路,具有计算和控制的智力? 这一点也不高深。本文从下面这个初中学的电路图说起,看看能不能从最初的有一个继电器的电路,画到一个简单的CPU。电路图用multisim12.0绘制,这样就可以看到效果了。 阅读全文
posted @ 2014-03-24 16:29 BIT祝威 阅读(36931) 评论(170) 推荐(226) 编辑
摘要: 编译原理(前端)的算法和实现 本文介绍从零实现Lex+YACC(即一键生成编译器(前端))的算法。完整代码在(https://gitee.com/bitzhuwei/grammar-mentor)和(https://github.com/bitzhuwei/GrammarMentor)。 下文将用“ 阅读全文
posted @ 2023-05-14 22:37 BIT祝威 阅读(410) 评论(0) 推荐(0) 编辑
摘要: 关于正则表达式 那些debug的日子里 手工时代 End 阅读全文
posted @ 2023-05-14 18:22 BIT祝威 阅读(66) 评论(0) 推荐(0) 编辑
摘要: Compiler of Calc The C# source code of the compiler Calc is generated by bitzhuwei.GrammarFormat. Grammar // 8 VnRegulations: Additive : Additive '+' 阅读全文
posted @ 2023-05-14 16:07 BIT祝威 阅读(54) 评论(0) 推荐(0) 编辑
摘要: Compiler of Scope The C# source code of the compiler Scope is generated by bitzhuwei.GrammarFormat. Grammar // 7 VnRegulations: Scope : '[' 'firstItem 阅读全文
posted @ 2023-05-13 19:05 BIT祝威 阅读(41) 评论(0) 推荐(0) 编辑
摘要: // GrammarName = ABB // ExtractedType = BCounter A : A '+' B | 'a' ; B : 'b' ; // GrammarName = SLR // ExtractedType = SLR2 S : L '=' R | R ; L : '*' 阅读全文
posted @ 2023-05-13 17:39 BIT祝威 阅读(34) 评论(0) 推荐(0) 编辑