These results have boosted our confidence in dis-
covering the necessary constraints for PARADIGM.
We feel that we are now able to implement and incor-
porate them in a modeling environment (a tool that
allows to create PARADIGM models), and thus en-
suring that models are created correctly.
6 CONCLUSIONS
This paper introduced a novel approach using Alloy in
DSL engineering, in order to find and tune language
constraints. Thus, we provide an empirical study –
the development of a DSL called PARADIGM for the
PBGT domain – to support our methodology. Results
indicate that it is feasible to use Alloy to define the
language elements and its relations and also to tune
language constraints. Also, to the best of our knowl-
edge, Alloy has never been used to assist the creation
of DSLs in the context of GUI modeling.
One of the benefits of using Alloy is due to the
simplicity in write specifications and the capability
of executing these specifications (in Alloy Analyzer
Tool) in order to be analyzed in further depth in a
graphical manner.
ACKNOWLEDGEMENTS
This work is financed by the ERDF - European Re-
gional Development Fund through the COMPETE
Programme (operational programme for competi-
tiveness) and by National Funds through the FCT
- Fundac¸
˜
ao para a Ci
ˆ
encia e a Tecnologia (Por-
tuguese Foundation for Science and Technology)
within project FCOMP-01-0124-FEDER-020554.
REFERENCES
Bettini, L. (2013). Implementing Domain-Specific Lan-
guages with Xtext and Xtend. Packt Publishing Ltd.
Bravenboer, M., Kalleberg, K. T., Vermaas, R., and Visser,
E. (2008). Stratego/xt 0.17. a language and toolset for
program transformation. Science of Computer Pro-
gramming, 72(1):52–70.
Frias, M. F., Galeotti, J. P., L
´
opez Pombo, C. G., and
Aguirre, N. M. (2005). Dynalloy: upgrading alloy
with actions. In Proceedings of the 27th international
conference on Software engineering, pages 442–451.
ACM.
He, Y. (2006). Comparison of the modeling languages al-
loy and uml. In Arabnia, H. R. and Reza, H., editors,
Software Engineering Research and Practice, pages
671–677. CSREA Press.
Jackson, D. (2011). Software Abstractions: Logic, Lan-
guage, and Analysis. MIT Press; 2nd Revised edition.
Jones, C. B. (2001). The transition from vdl to vdm.
Kats, L. C. and Visser, E. (2010). The spoofax language
workbench: rules for declarative specification of lan-
guages and ides. In ACM Sigplan Notices, volume 45,
pages 444–463. ACM.
Moreira, R. M. L. M. and Paiva, A. C. R. (2014). A
GUI Modeling DSL for Pattern-Based GUI Testing -
PARADIGM. In Maciaszek, L. A. and Filipe, J., edi-
tors, ENASE. SciTePress.
Moreira, R. M. L. M., Paiva, A. C. R., and Memon, A.
(2013). A Pattern-Based Approach for GUI Modeling
and Testing. In Proceedings of the 24th International
Symposium on Software Reliability Engineering, IS-
SRE’13, Pasadena, CA, USA. IEEE Computer Soci-
ety.
O’Regan, G. (2013). Z formal specification language. In
Mathematics in Computing, pages 109–122. Springer
London.
Patern
`
o, F., Mancini, C., and Meniconi, S. (1997). Concur-
TaskTrees: A Diagrammatic Notation for Specifying
Task Models. In Proceedings of the IFIP TC13 In-
ternational Conference on Human-Computer Interac-
tion, INTERACT ’97, pages 362–369, London, UK,
UK. Chapman & Hall, Ltd.
Rumbaugh, J., Jacobson, I., and Booch, G. (2004). Unified
Modeling Language Reference Manual, The. Pearson
Higher Education.
Runeson, P. and H
¨
ost, M. (2009). Guidelines for conduct-
ing and reporting case study research in software engi-
neering. Empirical Software Engineering, 14(2):131–
164.
Schmitt, C., Kuckuk, S., K
¨
ostler, H., Hannig, F., and Te-
ich, J. (2014). An evaluation of domain-specific lan-
guage technologies for code generation. In Proc. Int.
Conf. on Computational Science and its Applications
(ICCSA).
Strembeck, M. and Zdun, U. (2009). An approach for
the systematic development of domain-specific lan-
guages. Softw. Pract. Exper., 39(15):1253–1292.
Voelter, M., Benz, S., Dietrich, C., Engelmann, B., He-
lander, M., Kats, L. C. L., Visser, E., and Wachsmuth,
G. (2013). DSL Engineering - Designing, Imple-
menting and Using Domain-Specific Languages. dsl-
book.org.
Warmer, J. and Kleppe, A. (2003). The Object Con-
straint Language: Getting Your Models Ready for
MDA. Addison-Wesley Longman Publishing Co.,
Inc., Boston, MA, USA, 2 edition.
MODELSWARD2015-3rdInternationalConferenceonModel-DrivenEngineeringandSoftwareDevelopment
164