Calculator Practice about Principles of Compiler. 基于一个有穷自动机的简易计算器,然而主要的参考资料是 Head Firsts 设计模式。 因为龙书看不懂 Reference Head First Design Pattern The picture below: ---The Statechart Diagram--- ---How the State and Calculator interacts--- ---Interface and implements---