On the rôle of minimal typing derivations in type-driven program transformation

  • Authors:
  • Stefan Holdermans;Jurriaan Hage

  • Affiliations:
  • Vector Fabrics, Paradijslaan, KN Eindhoven, The Netherlands;Utrecht University, TB Utrecht, The Netherlands

  • Venue:
  • Proceedings of the Tenth Workshop on Language Descriptions, Tools and Applications
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

Standard inference algorithms for type systems involving ML-style polymorphism aim at reconstructing most general types for all let-bound identifiers. Using such algorithms to implement modular program optimisations by means of type-driven transformation techniques generally yields suboptimal results. We demonstrate how this defect can be made up for by using algorithms that target at obtaining so-called minimal typing derivations instead. The resulting approach retains modularity and is applicable to a large class of polyvariant program transformations.