Skip to topic | Skip to bottom
Home
Publications
Publications.20030521-Seminar-FrancisMaes-Metagene-Slidesr1.5 - 17 Jun 2008 - 09:08 - RolandLevillaintopic end

Start of topic | Skip to actions
Francis Maes. Metagene, a C++ meta-program generation tool. CSI Seminar May 2003

The C++ disposes of a two-layer evaluation model. Therefore it is possible to evaluate a program in two steps: the so-called static and dynamic evaluations.

Programs executed statically - metaprograms - are written in C++ through an intensive use of template classes. Due to the verbosity of these structures, very few peoples really use C++ metaprograms. Metagene is a program-transformations tool which intent is to simplify the development of such particular programs. Because of similarities between C++ metaprogramming and fonctional programming, the chosen input language is an CAML-style one. As output, Metagene produces C++ metaprograms expressed with template classes.

Firstly we introduces Metagene. This is followed by the Metagene generation paradigm, showing how C++ metaprogramming is near to functional programming. Then we will see our additions to the core language in order to manipulate C++ structures. At this point we will be able to see some full Metagene examples. Finally we will discuss about applications and possible extensions of Metagene.


to top

PublicationForm
Logo:
Category: SoftwareTools, ProgrammingParadigms, ProgrammingLanguages
Title: Metagene, a C++ meta-program generation tool
Authors: Francis Maes
Type: OralPresentation
Whereprefix:  
Where: CSI Seminar
Ref:  
Place:  
Date: May 2003
Note:  
Lang: english
Keywords: C++ metaprogramming, program-transformations, two-layer evaluation, ocaml, camlp4
Status: draft


You are here: Publications > 20030521-Seminar-FrancisMaes-Metagene-Slides

to top

Copyright © 1999-2010 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback