Skip to the main content

Original scientific paper

https://doi.org/10.2498/cit.1001739

Introducing Polymorphic Features into a Scripting Model of Generator

Danijel Radošević orcid id orcid.org/0000-0001-6022-2973 ; Faculty of Organization and Informatics, University of Zagreb, Varaždin, Croatia
Ivan Magdalenić orcid id orcid.org/0000-0002-6634-571X ; Faculty of Organization and Informatics, University of Zagreb, Varaždin, Croatia


Full text: english pdf 1.762 Kb

page 57-67

downloads: 707

cite


Abstract

Generative programming is a discipline of Automatic programming which strives to make application and the generator development process flexible and generated program code optimized. Because of the lack of appropriate graphic and aspect based generator models, we developed the Scripting model of generator, as a static generator model based on higher level scripts. This paper gives a formal definition of the Scripting model and describes how basic object model properties, like encapsulation, inheritance, and now, polymorphism are achieved. This offers some advantages in generative application development, such as more precise application specification, better generator reusability, and simpler generator model and its easier implementation. The introduced polymorphic features are presented in an illustrative example of a Java application generator.

Keywords

generative programming; scripting model; polymorphism

Hrčak ID:

67548

URI

https://hrcak.srce.hr/67548

Publication date:

30.3.2011.

Visits: 1.211 *