Proceedings of the ACM SIGPLAN 2014 Workshop on Partial Evaluation and Program Manipulation 2014
DOI: 10.1145/2543728.2543734
|View full text |Cite
|
Sign up to set email alerts
|

Type-changing rewriting and semantics-preserving transformation

Abstract: We have identified a class of regular, whole-program transformations that cannot be safely performed with typical transformation techniques because transformation requires changing the types of terms. In these transformations, we want to change typically large parts of a program from using one type to using another type while simultaneously preserving the original program semantics after transformation.In this paper, we present type-and-transform systems, an automated approach to the whole-program transformati… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
1
1

Citation Types

0
5
0

Year Published

2014
2014
2016
2016

Publication Types

Select...
4
2

Relationship

1
5

Authors

Journals

citations
Cited by 7 publications
(5 citation statements)
references
References 35 publications
0
5
0
Order By: Relevance
“…In the area of formal descriptions, two papers on typedirected coercion insertion stand out as very closely related to this paper [41,69]. The work of Swami et al [69] focuses on automatically composing several coercions together in order to bridge the gap between different types.…”
Section: Related Workmentioning
confidence: 98%
See 2 more Smart Citations
“…In the area of formal descriptions, two papers on typedirected coercion insertion stand out as very closely related to this paper [41,69]. The work of Swami et al [69] focuses on automatically composing several coercions together in order to bridge the gap between different types.…”
Section: Related Workmentioning
confidence: 98%
“…This work resembles the mechanisms used to introduce implicit conversions in Scala, although the rules provide more flexibility and are proven not to diverge. On the other hand, Leather et al [41] describe a coercion insertion mechanism which deliberately produces ambiguous rewritings from which heuristics can pick the best. More importantly, the formalism presented in [41] is also capable of consistently changing types in the rewrite rules, making the transformation very versatile.…”
Section: Related Workmentioning
confidence: 99%
See 1 more Smart Citation
“…Executing the "fun2value" refactoring on the fun expression checks if the value "apple" is side-effect free, and then it removes the unnecessary abstraction and application. With this scheme, one might implement API-adaptation, or type-changing refactorings [11] as well. Nevertheless, for such refactorings, data references should be gathered based on behavioural dependencies rather than just ordinary dataflow.…”
Section: Name ( { Args } )mentioning
confidence: 99%
“…Our ultimate goal is to extend the theory to Haskell, implement full support for the language, and investigate the realworld effectiveness of type-and-transform systems. This article is an update of another paper published with the same name [22]. We have made a number of changes since that first paper.…”
Section: Contributionsmentioning
confidence: 99%