Title :
Model-aware language specification with Java
Author :
Poruban, Jaroslav ; Chodarev, Sergej
Author_Institution :
Dept. of Comput. & Inf., Tech. Univ. of Kosice, Kosice, Slovakia
Abstract :
Tools that support development of parsers often concentrate on concrete syntax, leaving abstract syntax defined only implicitly. On the other hand there are projectional language workbenches that give central role to language model (abstract syntax) at the cost of locking a language to the concrete tool. In this paper we present YAJCo parser generator that uses model-centered approach to language definition while preserving textual representation. Abstract syntax of a language is expressed using object-oriented model in a general-purpose language with additional information and concrete syntax provided in form of annotations. In the paper we describe how abstract syntax, concrete syntax and semantics of the language are defined using YAJCo. We also describe how this method supports language composition and iterative development.
Keywords :
Java; formal specification; grammars; object-oriented methods; programming language semantics; Java; YAJCo parser generator; abstract syntax; concrete syntax; general-purpose language; iterative development; language composition; language semantics; model-aware language specification; model-centered approach; object-oriented model; projectional language workbenches; textual representation; Concrete; Grammar; Java; Object oriented modeling; Robots; Semantics; Syntactics; YAJCo; abstract syntax; domain-specific languages; language patterns; parser generators;
Conference_Titel :
Engineering of Modern Electric Systems (EMES), 2015 13th International Conference on
Conference_Location :
Oradea
Print_ISBN :
978-1-4799-7649-2
DOI :
10.1109/EMES.2015.7158424