Skoči na glavni sadržaj

Izvorni znanstveni članak

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


Puni tekst: engleski pdf 1.762 Kb

str. 57-67

preuzimanja: 704

citiraj


Sažetak

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.

Ključne riječi

generative programming; scripting model; polymorphism

Hrčak ID:

67548

URI

https://hrcak.srce.hr/67548

Datum izdavanja:

30.3.2011.

Posjeta: 1.195 *