Development of custom notation for XML-based language: A model-driven approach
Author(s) -
Sergej Chodarev,
Jaroslav Porubän
Publication year - 2017
Publication title -
computer science and information systems
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.244
H-Index - 24
eISSN - 2406-1018
pISSN - 1820-0214
DOI - 10.2298/csis170116036c
Subject(s) - computer science , programming language , notation , xml , xml schema editor , syntax , metamodeling , abstract syntax , document structure description , domain specific language , streaming xml , xml schema (w3c) , abstract syntax tree , xml validation , natural language processing , xml signature , world wide web , linguistics , semantics (computer science) , parsing , philosophy
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.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom