F2MoC: A Preliminary Product Line DSL for Mobile Robots

  • Rafael S. Durelli UFSCAR
  • Vinicius H. S. Durelli USP


SPL and MDD have been drawing increased attention from the software community. In the literature it is possible to find a set of articles that apply MDD techniques to assist the development of a SPL. Objectives: To show how to create a DSL based on a feature model. Methods: A SPL and MDD techniques were used to create a DSL. Results: A DSL was developed in order to assist the development of the mobile robots. Conclusions: Advantages can be gained from using the DSL: (i) an easier instantiation of SPL members; (ii) it is possible for the engineers to focus on an high level model (i.e., features model), obviating the need of dealing with platform-specific issues; (iii) source code is generated automatically from this high level model.

Palavras-chave: Preliminary, Mobile Robots, Software


Avila-García, O., García, A. E., and Rebull, E. V. S. (2007). Using software product lines to manage model families in model-driven engineering. Proceedings of the 2007 ACM symposium on Applied computing, 2(1):1006–1011.

Czarnecki, K., Antkiewicz, M., Kim, C. H. P., Lau, S., and Pietroszek, K. (2005). Model- driven software product lines. ACM, 19(5):126–127.

Durelli, R., Conrado, D., Ramos, R., Pastor, O., Camargo, V., and Penteado, R. (2010). Indentifying features for ground vehicles software product lines by means of anno-tated models. ACM/IEEE International Conference on Model Driven Engineering, Languages and Systems, 13:160–165.

Fowler, M. (2009). A pedagogical framework for domain-specific languages. IEEE Softw., 26:13–14.

Freeman, G., Batory, D., and Lavender, G. (2008). Lifting transformational models of product lines: A case study. Springer-Verlag, 15(2):16–30.

Iris, G., Holger, P., and Markus, V. (2007). Integrating model-driven development and software product line engineering. Proceedings of the 2007 ACM, 3(2):120–124.

P. Clements, L. N. (2001). Software product lines: practices and patterns. Addison-Wesley Longman Publishing.

Polzer, A., Kowalewski, S., and Botterweck, G. (2009). Applying software product line techniques in model-based embedded systems engineering. Communications of the ACM, 22:2–10.

Stahl, T., Voelter, M., and Czarnecki, K. (2006). Model-Driven Software Development:Technology, Engineering, Management.

Trujillo, S., Azanza, M., and Diaz, O. (2007). Generative metaprogramming. ACM,13(3):105–114.

van Deursen, A., Klint, P., and Visser, J. (2000). Domain-specific languages: an annotate dbibliography. SIGPLAN Not., 35:26–36.
DURELLI, Rafael S.; DURELLI, Vinicius H. S.. F2MoC: A Preliminary Product Line DSL for Mobile Robots. In: SIMPÓSIO BRASILEIRO DE SISTEMAS DE INFORMAÇÃO (SBSI), 8. , 2012, São Paulo. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2012 . p. 276-283. DOI: https://doi.org/10.5753/sbsi.2012.14412.