Proceedings of the 38th Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages 2011
DOI: 10.1145/1926385.1926397
|View full text |Cite
|
Sign up to set email alerts
|

Static analysis of multi-staged programs via unstaging translation

Abstract: Static analysis of multi-staged programs is challenging because the basic assumption of conventional static analysis no longer holds: the program text itself is no longer a fixed static entity, but rather a dynamically constructed value. This article presents a semanticpreserving translation of multi-staged call-by-value programs into unstaged programs and a static analysis framework based on this translation. The translation is semantic-preserving in that every small-step reduction of a multi-staged program i… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
1
1

Citation Types

1
21
0
1

Year Published

2011
2011
2016
2016

Publication Types

Select...
5
2
1

Relationship

0
8

Authors

Journals

citations
Cited by 19 publications
(23 citation statements)
references
References 34 publications
1
21
0
1
Order By: Relevance
“…Here we generalise T-LINQ to support a form of open quotation, and we show how this form may be simulated by closed quotation. Choi et al (2011) give a similar result. Our formalisation of open quotation is not as powerful as that found in systems such as MetaML or Ur, but the translation is suggestive of why closed quotation may be adequate for dealing with cases (such as composition of queries or dynamic generation of queries) that one may previously have thought required open quotation.…”
Section: Open Quotationsupporting
confidence: 57%
“…Here we generalise T-LINQ to support a form of open quotation, and we show how this form may be simulated by closed quotation. Choi et al (2011) give a similar result. Our formalisation of open quotation is not as powerful as that found in systems such as MetaML or Ur, but the translation is suggestive of why closed quotation may be adequate for dealing with cases (such as composition of queries or dynamic generation of queries) that one may previously have thought required open quotation.…”
Section: Open Quotationsupporting
confidence: 57%
“…The area of program specialization -also called code generation, partial evaluation, or staging -has been quite heavily studied, especially with respect to language features, such as type-checking, that promote simplicity and safety of specialization [13,30,32]. Work in this area specifically addressing highperformance for realistic applications includes work on marshalling [7,14] and on code-optimizing transformations [15].…”
Section: Related Workmentioning
confidence: 99%
“…Request permissions from permissions@acm.org. GPCE, '14, September 15-16, 2014 Program specialization is a well-studied area [13,30,32]. Research has produced many examples of programs, in many problem domains, that have been optimized by specialization.…”
Section: Introductionmentioning
confidence: 99%
“…Reasoning about multi-stage programs is a well-known hard problem. Choi et al [6] present translations from staged to unstaged programs that employ similar ideas to our translations, particularly hoisting pl-code out of dbcode in the − translation. Inoue and Taha [18] present techniques for reasoning about call-by-value multi-stage programs.…”
Section: Related Workmentioning
confidence: 99%