We introduce the Utrecht Haskell Compiler JavaScript backend, which allows one to compile Haskell code to JavaScript, so it can be run in the browser. To interface with JavaScript and overcome part of the impedance mismatch between the two languages, we introduce the Foreign Expression Language; a small subset of JavaScript for use in Foreign Function Interface imports. Finally we discuss the implementation of a JavaScript application, completely written in Haskell, with which we show that it is now possible to write an entire JavaScript application completely in Haskell. © 2013 Springer-Verlag.
CITATION STYLE
Dijkstra, A., Stutterheim, J., Vermeulen, A., & Swierstra, S. D. (2013). Building JavaScript applications with Haskell. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 8241 LNCS, pp. 37–52). https://doi.org/10.1007/978-3-642-41582-1_3
Mendeley helps you to discover research relevant for your work.