Build a simple interpreter --Part 4
摘要:In the previous part we have learned how to parse(recognize) and interpreter arithmetic expressions with any any numbers of plus or minus operators in
阅读全文
操作系统概述
摘要:操作系统(Operating System)是配置在计算机硬件上的第一层软件,也是最基本的系统软件,他可以控制和管理计算机系统的硬件和软件资源,合理地组织和调度计算机的工作和资源的分配,并提供给用户和其他的应用软件一个方便的接口和环境,也可以理解为它提供给其他应用程序一个更简单,方便的计算机模型。
阅读全文
Build a simple interpreter --Part 3
摘要:Let's continue learning from the previous part.Graphically,the arithmetic expression can be represented with the following syntax diagram: A syntax di
阅读全文
Build a simple interpreter --Part 2
摘要:“If you learn only methods,you will be tied to your methods.But if you learn principles, you can devise your own methods.” Ralph Waldo Emerson On taht
阅读全文
Build a simple interpreter --Part 1
摘要:今天突然想要记录一下自己的学习过程,一方面是为了以后更好的回顾,另一方面则是在记录的过程中希望看到自己的成长。因为我是根据一篇博客进行学习的,所以接下来可能会使用很多英语。 什么是编译器(compiler)或解释器(interpreter)呢?它们的功能是什么?它们之间又有什么曲别呢? The go
阅读全文