Tm: a Code Generator for Recursive Data Structures

Reference

C. van Reeuwijk, Tm: a Code Generator for Recursive Data Structures, Software - Practice and Experience, Volume 22(10), 899-908 (October 1992).

Keywords

internal representation, interfacing, code generators, template

Remarks

The software that is described in this paper is available for downloading: see the Tm pages.

Abstract

The transfer of data structures between programs is often carried out using binary or ad-hoc textual formats. However, this can result in ambiguous and non-portable file formats. The program `Tm' (for `template manager') prevents these problems by using a textual representation of the data structures and generating the code to read and write this representation from an abstract definition of the data structures. The same program is used to generate code for the simple data-structure manipulations that are necessary in almost every program. At the moment, code can be generated for the programming languages C, Pascal, Lisp and Miranda. Support for other languages is easily added.

Downloading

This article is available for downloading in the following versions:

spe92.ps.gz, gzip compressed PostScript (49K)

spe92.ps, PostScript (120K)


Last modified Friday 23 February 2007 13:45:50 UT by Kees van Reeuwijk.