O'Reilly logo

Use Cases: Patterns and Blueprints by Karin Palmkvist, Gunnar Övergaard

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required