Skip to Main content Skip to Navigation
Conference papers

Using and Re-using Application Generators

A Plantec 1 Vincent Ribaud 2
1 Lab-STICC_UBO_CACS_MOCS
Lab-STICC - Laboratoire des sciences et techniques de l'information, de la communication et de la connaissance, UBO - Université de Brest
Abstract : Application generators translate specifications into products (programs, documentation). They parse specification statements into data structures (called dictionaries or meta-models), from which desired products can be derived. An application generator builder offers a way to define specification languages and associated parsers, to describe and traverse the meta-models structure and to specify the derivation on this structure. STEP is an ISO 10303 standard developed to facilitate product information sharing by specifying sufficient semantic content for data and their usage. STEP offers very useful technology, such as an object oriented modelling language EXPRESS and a data access interface, and can be applied for the design and the implementation of application generators. EUGENE is a STEP-based framework, that is intended for the building of application generators. After a concise presentation of EUGENE, this paper presents different application generators built with this framework, mainly data management tools, a browsing tool and conversion tools. Then, we discuss the main benefits induced from our approach. 1. Introduction Application generators translate source specifications into target products as programs or documentation. They use data structures called dictionaries or meta-models to store the source specifications and intermediate representations. As in compilers, there are two main functions in a generator: parsing of the source specifications and the target code generation. Typically, an application generator builder offers a means to define specification languages and associated parsers, to describe and traverse the meta-model structure and to specify the derivation on this structure. In most builders, derivation is specified with templates (or skeletons) of code. Templates contain a mixture of commands operating on the meta-models and "real" code directly inserted into the products. With classical tools and methods, specifying and implementing a generator is very much like specifying and implementing a language. In this paper, we describe a way of building application generators directly from the object-oriented specification of meta-models. We used this possibility in a tool, called EUGENE [8]. Meta-models and code templates are programmed with the object-oriented data modelling langage, EXPRESS. We argue that building generators from the specification of meta-models can simplify their design and implementation and makes their use and re-use in industrial projects easier. As a consequence, generators can be implemented for specific problems and generated
Document type :
Conference papers
Complete list of metadatas

Cited literature [2 references]  Display  Hide  Download

https://hal.univ-brest.fr/hal-01450886
Contributor : Vincent Ribaud <>
Submitted on : Thursday, February 9, 2017 - 3:24:19 PM
Last modification on : Friday, August 7, 2020 - 3:56:05 PM
Long-term archiving on: : Wednesday, May 10, 2017 - 12:15:17 PM

File

COSET99.pdf
Files produced by the author(s)

Identifiers

  • HAL Id : hal-01450886, version 1

Citation

A Plantec, Vincent Ribaud. Using and Re-using Application Generators. ICSE'99 - International Workshop on Constructing Software Engineering Tools (COSET'99), May 1999, Los Angeles, United States. ⟨hal-01450886⟩

Share

Metrics

Record views

241

Files downloads

151