English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
yet another silly question on PXP
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-02-25 (16:14)
From: Paul Argentoff <argentoff@r...>
Subject: :pxp_evpull notation (was: yet another silly question on PXP)
Dear Gerd Stolpmann,

Let GS = "Gerd Stolpmann" in
  written_by GS => 

 GS> See the file doc/PREPROCESSOR which is part of the distribution
 GS> tarball.

Thanks again for a reference. My next question is about :pxp_evpull
notation. Can I make such a construct:

let pile = <:pxp_evpull<
             <foo> (: some_fun () :) >>

where some_fun generates a further "subtree" using the same pxp_evpull

My task really is to build a converter from a huge (>100M) text file (or
string Stream.t) to a huge xml file. Of course, I need to do all job with
lazy streams to avoid out-of-memory exceptions.

Yours truly, WBR, Paul Argentoff.
Jabber:	paul@jabber.rtelekom.ru