Chapter 36. Translator
Problem
The system is to receive an input stream and produce an output stream based on some translation rules.
Characteristics: Common in some domains. Advanced.
Keywords: Compiler, encryption, import, parser, transformation, XML.
Blueprints
Translator: Static Definition
Model
Description
The Translator: Static Definition
blueprint consists of one use case, called Translate Stream
. It receives an input stream consisting of different kinds of tokens that together form a structure, and produces an output stream based on the input stream and a collection of translation rules.
Applicability
This blueprint is used when the translation procedure ...
Get Use Cases: Patterns and Blueprints now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.