- Hands-On Design Patterns with Java
- Dr. Edward Lavieri
- 96字
- 2021-06-24 14:58:06
Using the interpreter pattern
The interpreter design pattern is used to establish a grammatical representation and an interpreter that interprets language. That might sound a bit complex and, although the concept is simple, their implementation often is not. This design pattern can be used for the interpretation of interpreted programming languages or languages that are compiled in byte code or other intermediate languages such as the Microsoft Intermediate Language (MSIL).
We will look at an example use case, the UML class diagram, and the source code necessary to implement the interpreter design pattern for this scenario.
推薦閱讀
- 同步:秩序如何從混沌中涌現(xiàn)
- 有趣的二進(jìn)制:軟件安全與逆向分析
- Game Development with Swift
- Python廣告數(shù)據(jù)挖掘與分析實(shí)戰(zhàn)
- 卷積神經(jīng)網(wǎng)絡(luò)的Python實(shí)現(xiàn)
- 大數(shù)據(jù)導(dǎo)論
- 工業(yè)大數(shù)據(jù)分析算法實(shí)戰(zhàn)
- Enterprise Integration with WSO2 ESB
- 數(shù)亦有道:Python數(shù)據(jù)科學(xué)指南
- ZeroMQ
- 云原生數(shù)據(jù)中臺(tái):架構(gòu)、方法論與實(shí)踐
- Flutter Projects
- R語(yǔ)言數(shù)據(jù)挖掘
- 數(shù)據(jù)庫(kù)技術(shù)及應(yīng)用
- SQL Server 2012實(shí)施與管理實(shí)戰(zhàn)指南