Logo PTI
Polish Information Processing Society
Logo FedCSIS

Annals of Computer Science and Information Systems, Volume 8

Proceedings of the 2016 Federated Conference on Computer Science and Information Systems

Development of Human-friendly Notation for XML-based Languages

DOI: http://dx.doi.org/10.15439/2016F530

Citation: Proceedings of the 2016 Federated Conference on Computer Science and Information Systems, M. Ganzha, L. Maciaszek, M. Paprzycki (eds). ACSIS, Vol. 8, pages 15651571 ()

Full text

Abstract. XML is a popular choice for development of domain-specific languages. In spite of its popularity, XML is a poor user interface and a lot of languages can be improved by introducing custom notation. This paper presents an approach for development of custom human-friendly notation for existing XML-based language together with a translator between the new notation and XML. This approach is based on explicit representation of language abstract syntax that can be decorated with mappings to both XML and the custom notation. The approach supports iterative design and development of the language concrete syntax, allowing its modification based on users feedback. Development process is demonstrated on a case study of language for definition of graphical user interface layout.

References

  1. T. Parr, “Humans should not have to grok XML,” 8 2001. [Online]. Available: http://www.ibm.com/developerworks/library/x-sbxml/index.html
  2. M. Mernik, J. Heering, and A. M. Sloane, “When and how to develop domain-specific languages,” ACM Computing Surveys, vol. 37, no. 4, pp. 316–344, dec 2005. http://dx.doi.org/10.1145/1118890.1118892
  3. J. Porubän, M. Forgáč, M. Sabo, and M. Běhálek, “Annotation based parser generator,” Computer Science and Information Systems (ComSIS), vol. 7, no. 2, pp. 291–307, 2010. http://dx.doi.org/10.2298/csis1002291p
  4. M. Nosáľ, M. Sulír, and J. Juhár, “Source code annotations as formal languages,” in 2015 Federated Conference on Computer Science and Information Systems (FedCSIS), Sept 2015. http://dx.doi.org/10.15439/2015F173 pp. 953–964.
  5. T. Stahl, M. Voelter, and K. Czarnecki, Model-Driven Software Development: Technology, Engineering, Management. John Wiley & Sons, 2006. ISBN 0470025700
  6. D. Steinberg, F. Budinsky, E. Merks, and M. Paternostro, EMF: Eclipse Modeling Framework. Pearson Education, 2008.
  7. S. Efftinge and M. Völter, “oAW xText: A framework for textual DSLs,” in Workshop on Modeling Symposium at Eclipse Summit, vol. 32, 2006, p. 118.
  8. J. Nielsen, “Iterative user-interface design,” IEEE Computer, vol. 26, no. 11, pp. 32–41, Nov 1993. http://dx.doi.org/10.1109/2.241424
  9. A. V. Aho, M. S. Lam, R. Sethi, and J. D. Ullman, Compilers: Principles, Techniques, and Tools (2Nd Edition). Boston, MA, USA: Addison-Wesley Longman Publishing Co., Inc., 2006. ISBN 0321486811
  10. D. Lakatoš, J. Porubän, and M. Bačíková, “Declarative specification of references in DSLs,” in 2013 Federated Conference on Computer Science and Information Systems (FedCSIS). IEEE, 2013. ISBN 9781467344715 pp. 1527–1534.
  11. D. Lakatoš and J. Porubän, “Generating tools from a computer language definition,” in Proceedings of International Scientific conference on Computer Science and Engineering (CSE 2010), September 2010, pp. 76–83.
  12. M. Bačíková, D. Lakatoš, and M. Nosáľ, “Automatized generating of GUIs for domain-specific languages,” in CEUR Workshop Proceedings, vol. 935, 2012, pp. 27–35.
  13. J. Porubän, J. Kollár, and M. Sabo, “Abstraction of computer language patterns: The inference of textual notation for a dsl,” in Formal and Practical Aspects of Domain-Specific Languages: Recent Developments. IGI Global, 2012, pp. 365–385, http://dx.doi.org/10.4018/978-1-4666-2092-6.ch013.
  14. J. Kollár and M. Vagač, “Aspect-oriented approach to metamodel abstraction,” Computing and Informatics, vol. 31, no. 5, pp. 983–1002, 2012.
  15. M. Bačíková, J. Porubän, S. Chodarev, and M. Nosáľ, “Bootstrapping DSLs from user interfaces,” in Proceedings of the 30th Annual ACM Symposium on Applied Computing - SAC ’15. ACM Press, apr 2015. http://dx.doi.org/10.1145/2695664.2695994. ISBN 9781450331968 pp. 2115–2118.
  16. J. Porubän, M. Sabo, J. Kollár, and M. Mernik, “Abstract syntax driven language development: Defining language semantics through aspects,” in Proceedings of the International Workshop on Formalization of Modeling Languages (FML ’10). New York, NY, USA: ACM, 2010. http://dx.doi.org/10.1145/1943397.1943399. ISBN 978-1-4503-0532-7
  17. P. Neubauer, A. Bergmayr, T. Mayerhofer, J. Troya, and M. Wimmer, “XMLText: from XML schema to Xtext,” in 2015 ACM SIGPLAN International Conference on Software Language Engineering. ACM, oct 2015. http://dx.doi.org/10.1145/2814251.2814267. ISBN 978-1-4503-3686-4 pp. 71–76.
  18. M. Eysholdt and J. Rupprecht, “Migrating a large modeling environment from xml/uml to xtext/gmf,” in Proceedings of the ACM International Conference Companion on Object Oriented Programming Systems Languages and Applications Companion, ser. OOPSLA ’10. New York, NY, USA: ACM, 2010. http://dx.doi.org/10.1145/1869542.1869559. ISBN 978-1-4503-0240-1 pp. 97–104.
  19. R. Shearer, “Structured ontology format,” in Proceedings of the OWLED 2007 Workshop on OWL: Experiences and Directions, 2007.
  20. O. Ben-Kiki, C. Evans, and B. Ingerson, “YAML Ain’t Markup Language. Version 1.2,” Tech. Rep., 2009. [Online]. Available: http://yaml.org/
  21. P.-A. Muller and M. Hassenforder, “HUTN as a Bridge between ModelWare and GrammarWare - An Experience Report,” WISME Workshop, MODELS/UML, pp. 1–10, 2005.
  22. I. Čeh, M. Črepinšek, T. Kosar, and M. Mernik, “Ontology driven development of domain-specific languages,” Computer Science and Information Systems (ComSIS), vol. 8, no. 2, pp. 317–342, 2011. http://dx.doi.org/10.2298/CSIS101231019C
  23. J. M. S. Fonseca, M. J. V. Pereira, and P. R. Henriques, “Converting Ontologies into DSLs,” in 3rd Symposium on Languages, Applications and Technologies, ser. OpenAccess Series in Informatics (OASIcs), vol. 38. Dagstuhl, Germany: Schloss Dagstuhl–Leibniz-Zentrum fuer Informatik, 2014. http://dx.doi.org/http://dx.doi.org/10.4230/OASIcs.SLATE.2014.85. ISBN 978-3-939897-68-2. ISSN 2190-6807 pp. 85–92.