Version française
Home     About     Download     Resources     Contact us    
Browse thread
camlp4 question: Mixing a printer and Ast.fold
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Nicolas Pouillard <nicolas.pouillard@g...>
Subject: Re: [Caml-list] camlp4 question: Mixing a printer and Ast.fold
Excerpts from Richard W.M. Jones's message of Fri Mar 21 17:56:25 +0100 2008:
> On Fri, Mar 21, 2008 at 05:50:00PM +0100, Nicolas Pouillard wrote:
> > Excerpts from Richard W.M. Jones's message of Fri Mar 21 17:44:30 +0100 2008:
> > > I'm trying to link the camlp4 module into a binary, by doing:
> > > 
> > >   ocamlc -I +camlp4 camlp4lib.cma Camlp4Bin.cmo pr_gettext.cmo \
> > >     -o ocaml-xgettext
> > > 
> > > but my binary always prints out:
> > > 
> > >   Failure: "No implementation printer"
> > > 
> > > Apparently I need to somehow register the printer as well?  I can't
> > > work out how to do that though.
> > 
> > What version of pr_gettext are you using?
> 
> Well, no version -- I'm trying to make Sylvain Le Gall's pr_gettext
> work with camlp4 3.10.  It has to be linked into a standalone binary
> called ocaml-xgettext, but I can't work out how to do that.
> 
> Previously Sylvain was using mkcamlp4, but that is broken.

I mean between different proposals for pr_gettext.ml, in this thread.

-- 
Nicolas Pouillard aka Ertai