1. Development of custom notation for XML-based language: A model-driven approach
- Author
-
Sergej Chodarev and Jaroslav Porubän
- Subjects
Document Structure Description ,General Computer Science ,Programming language ,Computer science ,computer.internet_protocol ,Efficient XML Interchange ,XML validation ,computer.file_format ,computer.software_genre ,01 natural sciences ,010305 fluids & plasmas ,XML Schema Editor ,Regular Language description for XML ,0103 physical sciences ,Streaming XML ,XML schema ,010306 general physics ,computer ,XML ,computer.programming_language - Abstract
In spite of its popularity, XML provides poor user experience and a lot of domain-specific languages can be improved by introducing custom, more humanfriendly notation. This paper presents an approach for design and development of the custom notation for existing XML-based language together with a translator between the new notation and XML. The approach supports iterative design of the language concrete syntax, allowing its modification based on users feedback. The translator is developed using a model-driven approach. It is based on explicit representation of language abstract syntax (metamodel) that can be augmented with mappings to both XML and the custom notation. We provide recommendations for application of the approach and demonstrate them on a case study of a language for definition of graphs.
- Published
- 2017