2003
DOI: 10.1007/3-540-36579-6_18
|View full text |Cite
|
Sign up to set email alerts
|

Rapid and Robust Compiler Construction Using Template-Based Metacompilation

Abstract: We have developed Tm, a template-based metacompiler. Given a set of data-structure definitions and a template, Tm generates files that instantiate the template for the given data structures. With this process, Tm is able to generate program code to manipulate these data structures. Since it uses templates, the generated code is not restricted to a specific programming language: any sufficiently powerful programming language can be targeted. Tm has been used for a wide variety of tasks and languages. However, i… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1

Citation Types

0
2
0

Year Published

2005
2005
2012
2012

Publication Types

Select...
3
1

Relationship

0
4

Authors

Journals

citations
Cited by 4 publications
(2 citation statements)
references
References 4 publications
0
2
0
Order By: Relevance
“…Tm is a macro processor in the spirit of m4 that takes a source code template and a set of data structure definitions and generates source code (van Reeuwijk, 1992). Tree-walker and analyzer templates that resemble define-pass have been generated using Tm (van Reeuwijk, 2003). These templates are low-level relatives of define-pass, which provides convenient input pattern syntax for matching nested record structures and output template syntax constructing nested record structures.…”
Section: Related Workmentioning
confidence: 99%
“…Tm is a macro processor in the spirit of m4 that takes a source code template and a set of data structure definitions and generates source code (van Reeuwijk, 1992). Tree-walker and analyzer templates that resemble define-pass have been generated using Tm (van Reeuwijk, 2003). These templates are low-level relatives of define-pass, which provides convenient input pattern syntax for matching nested record structures and output template syntax constructing nested record structures.…”
Section: Related Workmentioning
confidence: 99%
“…[1,8,7,9,10] any programming language. An important aspect is that if the target language has a strong enough typing mechanism, the types of the datatype definition can be reflected somehow in the generated code.…”
Section: Generating Code From Datatype Definitionsmentioning
confidence: 99%