The STUDIA UNIVERSITATIS BABEŞ-BOLYAI issue article summary

The summary of the selected article appears at the bottom of the page. In order to get back to the contents of the issue this article belongs to you have to access the link from the title. In order to see all the articles of the archive which have as author/co-author one of the authors mentioned below, you have to access the link from the author's name.

 
       
         
    STUDIA INFORMATICA - Issue no. 2 / 2008  
         
  Article:   META‹FUN› – TOWARDS A FUNCTIONAL-STYLE INTERFACE FOR C++ TEMPLATE METAPROGRAMS.

Authors:  ADÁM SIPOS, ZOLTÁN PORKOLÁB, VIKTÓRIA ZSÓK.
 
       
         
  Abstract:  Template metaprogramming is an emerging new direction in C programming for executing algorithms at compilation time. Despite that template metaprogramming has a strong relationship with functional programming, existing template metaprogram libraries do not follow the requirements of the functional paradigm. In this paper we discuss the possibility to enhance the syntactical expressivity of template metaprograms using an embedded functional language. For this purpose we define EClean, a subset of Clean, a purely functional lazy programming language. A parser, and a graph-rewriting engine for EClean have been implemented. The engine itself is a compile-time template metaprogram library using standard C language features. To demonstrate the feasibility of the approach lazy evaluation of infinite data structures is implemented.

Key words and phrases. C Template Metaprogramming, Clean.
 
         
     
         
         
      Back to previous page