Flutter Design Patterns: 8 — Interpreter
An overview of the Interpreter design pattern and its implementation in Dart and Flutter
Previously in the series, I have analysed a relatively simple and straightforward design pattern — Facade. In this article, I will analyse and implement a pattern, which has a similar structure to Composite but is used in a different context and for a different purpose — the Interpreter design pattern.
Update 2022–09–15: I moved this blog to my personal website. For a better reading experience, up to date articles, interactive code examples and some extra content FOR FREE, check kazlauskas.dev.
Table of Contents
- What is the Interpreter design pattern?
- Analysis
- Implementation
- Other articles in this series
- Your contribution
What is the Interpreter design pattern?
The Interpreter is a behavioural design pattern, which intention in the GoF book is described like this: