Premium
Tm: A code generator for recursive data structures
Author(s) -
van Reeuwijk C.
Publication year - 1992
Publication title -
software: practice and experience
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.437
H-Index - 70
eISSN - 1097-024X
pISSN - 0038-0644
DOI - 10.1002/spe.4380221008
Subject(s) - computer science , programming language , lisp , pascal (unit) , data structure , code (set theory) , code generation , generator (circuit theory) , redundant code , theoretical computer science , operating system , power (physics) , physics , set (abstract data type) , quantum mechanics , key (lock)
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.