×

zbMATH — the first resource for mathematics

Implementing a non-strict purely functional language in JavaScript. (English) Zbl 1236.68027
Summary: This paper describes an implementation of a non-strict purely functional language in JavaScript. This particular implementation is based on the translation of a high-level functional language such as Haskell or Clean into JavaScript via the intermediate functional language Sapl. The resulting code relies on the use of an evaluator function to emulate the non-strict semantics of these languages. The speed of execution is competitive with that of the original Sapl interpreter itself and better than that of other existing interpreters.
MSC:
68N18 Functional programming and lambda calculus
68N15 Theory of programming languages
PDF BibTeX XML Cite