Consistent Projectional Text Editors

S. M. Guttormsen, A. Prinz, T. Gjøsæter

Abstract

For modelling and domain-specific languages, projectional editors have become popular. These editors implement the MVC pattern and provide a direct connection to the underlying model. In particular, projectional editors allow much more freedom in defining the concrete syntax than traditional grammars. The downside is that it is possible to define presentations that are of bad quality, and that this is not easily visible. In this article, we identify some of the problems with projectional editors and propose ways to resolve them. We also demonstrate a proof-of-concept solution, showing how problematic editor presentations could be identified automatically.

References

  1. Guttormsen, S. M. (2016). Changing meta-languages in MPS. Master's Thesis, University of Agder, Grimstad.
  2. ITU-T (1999). SDL - ITU-T Specification and Description Language (SDL-2000). ITU-T Recommendation Z.100, ITU-T.
  3. Karsai, G., Krahn, H., Pinkernell, C., Rumpe, B., Schindler, M., and Völkel, S. (2014). Design guidelines for domain specific languages. Computing Research Repository.
  4. Lunney, T. and Perrott, R. (1988). Syntax-directed editing. Software Engineering Journal, 3:37-46(9).
  5. Moody, D. (2009). The physics; of notations: Toward a scientific basis for constructing visual notations in software engineering. IEEE Trans. Softw. Eng., 35(6):756-779.
  6. Parr, T. J. and Quong, R. W. (1995). ANTLR: A predicatedLL(k) parser generator. In Software - Practice and Experience, Vol. 25(7), pages 789-810. ACM Press New York.
  7. Prinz, A. (2000). Formal Semantics for RSDL: Definition and Implementation. PhD thesis, HumboldtUniversität zu Berlin.
  8. Schmitt, M. (2003). Parser for sdl-2000. URL: http://patakino.web.elte.hu/SDL/Parser/SDLParser.g, accessed 2015.
  9. Toporov, E., Pech, V., and Shatalin, A. (2013). MPS User Guide for Language Designers. Confluence - JetBrains. https://confluence.jetbrains.com/display/MPSD32/ MPS+User's+Guide, accessed 2015-06-05.
  10. Völter, M. (2011). Language and IDE modularization, extension and composition with MPS. Pre-proceedings of Summer School on Generative and Transformational Techniques in Software Engineering (GTTSE), pages 395-431.
  11. Völter, M. (2014). Generic tools, specific languages . PhD thesis, TU Delft, Delft University of Technology.
  12. Völter, M., Benz, S., Dietrich, C., Engelmann, B., Helander, M., Kats, L. C., Visser, E., and Wachsmuth, G. (2013). DSL engineering: Designing, implementing and using domain-specific languages. Implementing and Using Domain-Specific Languages. dslbook. org .
  13. Völter, M., Siegmund, J., Berger, T., and Kolb, B. (2014). Towards user-friendly projectional editors. In Combemale, B., Pearce, D. J., Barais, O., and Vinju, J. J., editors, Software Language Engineering, volume 8706 of Lecture Notes in Computer Science, pages 41-61. Springer International Publishing.
  14. Völter, M. and Solomatov, K. (2010). Language modularization and composition with projectional language workbenches illustrated with MPS. Software Language Engineering, SLE.
Download


Paper Citation


in Harvard Style

Guttormsen S., Prinz A. and Gjøsæter T. (2017). Consistent Projectional Text Editors . In Proceedings of the 5th International Conference on Model-Driven Engineering and Software Development - Volume 1: MODELSWARD, ISBN 978-989-758-210-3, pages 515-522. DOI: 10.5220/0006264505150522


in Bibtex Style

@conference{modelsward17,
author={S. M. Guttormsen and A. Prinz and T. Gjøsæter},
title={Consistent Projectional Text Editors},
booktitle={Proceedings of the 5th International Conference on Model-Driven Engineering and Software Development - Volume 1: MODELSWARD,},
year={2017},
pages={515-522},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0006264505150522},
isbn={978-989-758-210-3},
}


in EndNote Style

TY - CONF
JO - Proceedings of the 5th International Conference on Model-Driven Engineering and Software Development - Volume 1: MODELSWARD,
TI - Consistent Projectional Text Editors
SN - 978-989-758-210-3
AU - Guttormsen S.
AU - Prinz A.
AU - Gjøsæter T.
PY - 2017
SP - 515
EP - 522
DO - 10.5220/0006264505150522