Affiliation:
1. Technical University of Košice, Slovakia
Abstract
In general, designing a domain-specific language (DSL) is a complicated process, requiring the cooperation of experts from both application domain and computer language development areas. One of the problems that may occur is a communication gap between a domain expert and a language engineer. Since domain experts are usually non-technical people, it might be difficult for them to express requirements on a DSL notation in a technical manner. Another compelling problem is that even though the majority of DSLs share the same notation style for representing the common language constructs, a language engineer has to formulate the specification for these constructs repeatedly for each new DSL being designed. The authors propose an innovative concept of computer language patterns to capture the well-known recurring notation style often seen in many computer languages. To address the communication problem, they aim for the way of proposing a DSL notation by providing program examples as they would have been written in a desired DSL. As a combination of these two ideas, the chapter presents a method for example-driven DSL notation specification (EDNS), which utilizes computer language patterns for semi-automated inference of a DSL notation specification from the provided program examples.
Reference28 articles.
1. Discovery of complex model implementation patterns in source code.;L.Ablonskis;Information Technology and Control,2010
2. Ahonen, H., Mannila, H., & Nikunen, E. (1994). Forming grammars for structured documents: An application of grammatical inference. Proceedings of the Second International Colloquium on Grammatical Inference and Applications (pp. 153-167). Springer-Verlag.
3. Bex, G. J., Neven, F., & Vansummeren, S. (2007). Inferring XML schema definitions from XML data. Proceedings of the 33rd International Conference on Very Large Data Bases (pp. 998-1009). VLDB Endowment.
4. Chidlovskii, B. (2001). Schema extraction from XML data: A grammatical inference approach. Proceedings of the Eighth International Workshop on Knowledge Representation Meets Databases, CEUR Workshop Proceedings.
5. Inferring Context-Free Grammars for Domain-Specific Languages
Cited by
1 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Development of Human-friendly Notation for XML-based Languages;Annals of Computer Science and Information Systems;2016-10-02