Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Metaprogramming features
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-10-07 (16:31)
From: Jacques Carette <carette@m...>
Subject: Re: [Caml-list] Re: Metaprogramming features
Jon Harrop wrote:
> So the translation from MetaOCaml to OCaml is not obvious at all.
> This begs the question: could another formulation of MetaOCaml avoid these 
> complications without losing expressiveness?
No.  See some of the early papers of Taha and papers from Sheard around 
the same time. 

BTW, F#'s metaprogramming features are much much less powerful than 
metaocaml's.  We tried to use them to generalize some previous work I 
(with some other colleagues) had done in metaocaml, but couldn't.  
Essentially, F#'s splices are first-order only.