Abstract syntax driven language development: defining language semantics through aspects

  • Authors:
  • Jaroslav Porubän;Miroslav Sabo;Ján Kollár;Marjan Mernik

  • Affiliations:
  • Technical University of Košice, Košice, Slovakia;Technical University of Košice, Košice, Slovakia;Technical University of Košice, Košice, Slovakia;University of Maribor, Maribor, Slovenia

  • Venue:
  • Proceedings of the International Workshop on Formalization of Modeling Languages
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

The paper presents an approach for defining a computer language driven by a language's abstract syntax. The whole process of language specification including abstract syntax, concrete syntax and semantics definition is explained. Particular emphasis is put on language semantics definition and two approaches are introduced in detail -- via annotations and aspects. For this purpose, as the main example used throughout the paper, the DESK language has been selected. A simple approach to semantics definition through semantic methods in the language model is presented. The paper continues with more advanced semantics definition through aspects. As a proof of concept, a short description of the YAJCo experimental research parser generator is given.