Source-to-source translation of visual languages

  • Authors:
  • Jukka Paakki;Antti-Pekka Tuovinen

  • Affiliations:
  • Department of Computer Science and Engineering, Helsinki University of Technology, P.O. Box 1000, FIN-02015 HUT, Finland;Department of Computer Science, University of Helsinki, P.O. Box 26, FIN-00014, University of Helsinki, Finland

  • Venue:
  • Nordic Journal of Computing
  • Year:
  • 1998

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this paper we study the problem of translation between visual languages. Languages with a visual syntax are currently in wide use, due to the popularity of different kinds of diagrams used especially in software analysis, design, and animation. Unlike conventional textual languages, visual languages are still quite immature with regard to the formalisms for their specification and automatic implementation. As a consequence, the current diagram editors are usually implemented with ad hoc solutions on a weak methodological foundation. This makes it hard to develop sophisticated diagram manipulators, such as meaning-preserving transformators between two different styles of diagrams. To overcome this problem, we present a solid method for the transformation between diagrams, or more generally, for the source-to-source translation between two visual languages. The method is based on a mapping between atomic relational grammars for the two languages, and on considering translation as a parse tree transformation process. We also present the underlying technique of producing a parse tree for a visual language specified with an atomic relational grammar.