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
camlp4 -I and shared libs
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-06-29 (10:44)
From: Benedikt Grundmann <benedikt@c...>
Subject: Re: [Caml-list] camlp4 -I and shared libs
Hi everybody,

At the risk of sounding harsh, I do not like this wiki at all, due to
several reasons:

1) Default style sheet is a partial user interface nightmare, a lot of
the links are embedded in  titles, which happen to have nearly the
same styling... So you actually have to hover above each title to find
the links.

2) Structure is a mess...  Camlp4 can do a lot and that is great.  But
I do believe that the primary motivation is the extension of OCaml and
some simple examples, or even better yet some kind of tutorial is
needed. It definitely should start simple maybe even over simplifying
things and very very gradually introduce the true power...

Anyway I personally learned more from the extremely short page at:

In particular the link to json_static was helpful.

In that spirit here is a link to a syntax extension that I am writing
as part of the OCaml Summer Project:



PS: I do not want to start a flame war, or offend the creators of the
Wiki.  I just wanted to point out that right now the wiki is not
helpful, unless you already now a lot about camlp4...

PPS: My syntax extension captures the identifier msg.  How is one
supposed to write hygienic macros?  Should I just store a counter
somewhere and generate identifiers like "msg__32432" and hope that
nobody else uses the same prefix, or is there some support for things
like that in camlp4?

2007/6/29, Robert Roessler <>:
> Nicolas Pouillard wrote:
> > On 6/29/07, Hendrik Tews <> wrote:
> >> "Nicolas Pouillard" <> writes:
> >>
> >>    No major change is planned for Camlp4. I think that's reasonable to
> >>    start translating extensions.
> >>
> >> Where is the documentation?
> >
> >
> Ah, it's the old "You do not like our docs?  Here is the wiki - feel
> free to contribute" trick. ;)
> Robert Roessler
> _______________________________________________
> Caml-list mailing list. Subscription management:
> Archives:
> Beginner's list:
> Bug reports:

Calvin: I try to make everyone's day a little more

(From Calvin & Hobbes)