Aggregate Callback - A Design Pattern for Flexible and Robust Runtime Model Building

Gábor Kövesdán, Márk Asztalos, László Lengyel

2015

Abstract

In modern software engineering environments, tools that use Domain-Specific Languages (DSLs) are often applied. The usual workflow of such tools is that the textual input written in the DSL is parsed and a semantic model is instantiated. This model is later passed to another software component that processes it, e.g. a model transformation, a code generator or a simulator. Building the semantic model inside the parser is often a complex task. The model must be built in such a way that the constraints of the problem domain are enforced so that the consistency of the output is guaranteed. This paper presents a design pattern, referred as Aggregate Callback that supports enforcing constraints in the model and thus helps creating correct models. We have found that the Aggregate Callback pattern is useful for tool developers that build models in their applications.

Download


Paper Citation


in Harvard Style

Kövesdán G., Asztalos M. and Lengyel L. (2015). Aggregate Callback - A Design Pattern for Flexible and Robust Runtime Model Building . In Proceedings of the 3rd International Conference on Model-Driven Engineering and Software Development - Volume 1: MODELSWARD, ISBN 978-989-758-083-3, pages 149-156. DOI: 10.5220/0005197901490156

in Bibtex Style

@conference{modelsward15,
author={Gábor Kövesdán and Márk Asztalos and László Lengyel},
title={Aggregate Callback - A Design Pattern for Flexible and Robust Runtime Model Building},
booktitle={Proceedings of the 3rd International Conference on Model-Driven Engineering and Software Development - Volume 1: MODELSWARD,},
year={2015},
pages={149-156},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0005197901490156},
isbn={978-989-758-083-3},
}


in EndNote Style

TY - CONF
JO - Proceedings of the 3rd International Conference on Model-Driven Engineering and Software Development - Volume 1: MODELSWARD,
TI - Aggregate Callback - A Design Pattern for Flexible and Robust Runtime Model Building
SN - 978-989-758-083-3
AU - Kövesdán G.
AU - Asztalos M.
AU - Lengyel L.
PY - 2015
SP - 149
EP - 156
DO - 10.5220/0005197901490156