Elementary Structural Data Composition Patterns
EuroPLoP 2019: Proceedings of the 24th European Conference on Pattern Languages of Programs 2019
Ruslan Batdalov, Oksana Ņikiforova

Data composition is used in programming languages and data transfer representation languages (such as JSON, XML and network protocols) to build complex objects, but the particular language constructs may differ. The paper presents common primitives underlying structural data composition techniques in both groups of languages: sets, multisets, sequences, maps, multimaps and variant types. The primitives are described using the patterns methodology. Application of the patterns is considered with respect to the declarative parts of the languages (compile-time types in programming languages, XML Schema for XML) and usage parts (run-time types, JSON objects, XML documents). The patterns are intended for programming language designers, developers of high-level data transfer protocols, as well as students studying common approaches in different languages. The patterns may be used to facilitate conversion between different forms of data (e.g., arrays in memory and sequences of values in a data transfer channel).


Keywords
Compound types, design patterns
DOI
10.1145/3361149.3361175
Hyperlink
https://dl.acm.org/doi/10.1145/3361149.3361175

Batdalov, R., Ņikiforova, O. Elementary Structural Data Composition Patterns. In: EuroPLoP 2019: Proceedings of the 24th European Conference on Pattern Languages of Programs, Germany, Irsee, 3-7 July, 2019. New York: ACM, 2019, Article number 26. ISBN 978-1-4503-6206-1. Available from: doi:10.1145/3361149.3361175

Publication language
English (en)
The Scientific Library of the Riga Technical University.
E-mail: uzzinas@rtu.lv; Phone: +371 28399196