EClean - An Embedded Functional Language

Sipos, Ádám; Zsók, Viktória [Zsók, Viktória (programozási nyelvek), author] ELTE IK Department of Programming Languages And... (ELTE / ELU FoI / ICS)

English Scientific Article (Journal Article)
  • SJR Scopus - Computer Science (miscellaneous): Q2
Identifiers
Subjects:
    C++ template metaprogramming is often regarded as a functional language, however, nowadays metaprogram libraries are not implemented in functional programming style. In this paper we discuss a compile-time graph-rewriting engine based on the properties of the functional language Clean. The most important property imported from the functional paradigm is the lazy evaluation strategy. With the help of the engine it is possible to embed lazy functional-style code into C++ programs, and transform it into template metaprograms. We present the implemented lazy evaluation strategy by examples including also infinite lists. © 2009.
    Citation styles: IEEEACMAPAChicagoHarvardCSLCopyPrint
    2021-06-22 08:49