A copy of this work was available on the public web and has been preserved in the Wayback Machine. The capture dates from 2019; you can also visit the original URL.
The file type is application/pdf
.
Type-Safe Code Transformations in Haskell
2007
Electronical Notes in Theoretical Computer Science
The use of typed intermediate languages can significantly increase the reliability of a compiler. By typechecking the code produced at each transformation stage, one can identify bugs in the compiler that would otherwise be much harder to find. We propose to take the use of types in compilation a step further by verifying that the transformation itself is type correct, in the sense that it is impossible that it produces an ill typed term given a well typed term as input. We base our approach on
doi:10.1016/j.entcs.2006.10.036
fatcat:i4dllrqfp5aa3bay3lk4colpz4