设计模式(java源码实现)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6 lines
231 B

# 解释器模式
语法规则也是类
程序要解决的问题会被用非常简单的"迷你语言"表述出来。负责解析迷你语言的程序就是解析器。
程序需要修改的时候,只需修改迷你程序即可