1996
DOI: 10.7146/brics.v3i13.19976
|View full text |Cite
|
Sign up to set email alerts
|

Semantics-Based Compiling: A Case Study in Type-Directed Partial Evaluation

Abstract: We illustrate a simple and effective solution to semantics-based compiling. Our solution is based on type-directed partial evaluation, where• our compiler generator is expressed in a few lines, and is efficient;• its input is a well-typed, purely functional definitional interpreter in the manner of denotational semantics; • the output of the generated compiler is three-address code, in the fashion and efficiency of the Dragon Book; • the generated compiler processes several hundred lines of source code per sec… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
6
0

Year Published

1997
1997
1999
1999

Publication Types

Select...
3
1

Relationship

1
3

Authors

Journals

citations
Cited by 4 publications
(6 citation statements)
references
References 23 publications
0
6
0
Order By: Relevance
“…Altenkirch, Hofmann and Streicher, andČubrić, Dybjer and Scott are conducting a mathematical investigation [1,2,16]. Danvy and his students, and Sheard and his students are conducting a more experimental investigation [17,18,21,22,35,36]. The present work continues our practical investigation.…”
Section: Introductionmentioning
confidence: 58%
“…Altenkirch, Hofmann and Streicher, andČubrić, Dybjer and Scott are conducting a mathematical investigation [1,2,16]. Danvy and his students, and Sheard and his students are conducting a more experimental investigation [17,18,21,22,35,36]. The present work continues our practical investigation.…”
Section: Introductionmentioning
confidence: 58%
“…These differences have contributed to the successful application of TDPE in various contexts, e.g., to perform semantics-based compilation [11]. An introductory account, as well as a survey of various treatments concerning NbE, can be found in Danvy's lecture notes [8].…”
Section: Type-directedmentioning
confidence: 99%
“…The instantiation of height ge with these structures gives height . Applying the second Futamura projection as given in Equation 4 Figure 17: Instantiation via functors this purpose in several instances [5,6,10,11]. Having implemented the second Futamura projection, we can instead generate a compiler, which is the generating extension of an interpreter.…”
Section: Pragmaticsmentioning
confidence: 99%
“…These differences have contributed to its successful application in various contexts, e.g., to perform semantics-based compilation [6]. TDPE is due to Danvy [1]; an introductory account, as well as a survey of various treatments concerning NbE, can be found in his lecture notes on TDPE [4].…”
Section: Self-applicationmentioning
confidence: 99%