Title :
Computer language notation specification through program examples
Author :
Miroslav Sabo;Jaroslav Porubän;Dominik Lakatoš;Michaela Kreutzová
Author_Institution :
Technical University of Kosice, Letna 9, 042 00 Kosice, Slovakia
Abstract :
It often happens that computer-generated documents originally intended for human recipient need to be processed in an automated manner. The problem occurs if analyzer does not exist and therefore must be created ad hoc. To avoid the repetitive manual implementation of parsers for different formats of processed documents, we propose a method for specification of computer language notation by providing program examples. The main goal is to facilitate the process of computer language development by automating the specification of a notation for recurring well-known language constructs often observed in various computer languages. Hence, we introduce the concept of language patterns, which capture the knowledge of language engineer and enables its automated application in the process of notation recognition. As a result, by using the proposed method, even a user less experienced in the field of computer language construction is able to create a language parser.
Keywords :
"DSL","Syntactics","Biological system modeling","Grammar","Computer languages","Concrete","Object oriented modeling"
Conference_Titel :
Computer Science and Information Systems (FedCSIS), 2011 Federated Conference on
Print_ISBN :
978-1-4577-0041-5