HOCL: A Family of Embedded Languages
University of Pennsylvania
University of Pennsylvania, 2015
@article{cowley2015hocl,
title={HOCL: A Family of Embedded Languages},
author={Cowley, Anthony and Taylor, Camillo J},
year={2015}
}
We address the increasingly varied capabilities of specialized computing platforms by introducing a growing family of functionally-limited mini-languages, implemented as embedded domain specific languages (EDSLs) in Haskell, that may be composed to harness the computational features offered by a variety of hardware platforms. This development is based on a novel modular representation of the EDSL that enables zero-overhead evaluation when running on the GHC runtime, deep term introspection for optimization purposes as a prelude to serialization for consumption by a lower-level compiler, and rich interplay between these two views that recasts interpreters as optimizers.
March 8, 2015 by hgpu