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
[OSR] Caml Community Code
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jonathan Bryant <watersofmemory@g...>
Subject: Re: [Caml-list] [OSR] Caml Community Code
On Fri, Feb 1, 2008 at 12:26 PM, David Allsopp <>

> > I also think we should have one CamlP4 grammar with all the community's
> > agreed upon "standard" syntax extensions (sort of a "new revised"
> > syntax?)
> Am I correct in thinking that you can only use one camlp4 parser per
> source
> file - i.e. that parsers cannot be automatically composed, even if that is
> logically (grammatically) possible?

I believe multiple CamlP4 parsers can be specified on the command line and
are used in the order given.  But there are a few (relatively trivial)
syntax extensions people are commonly asking for (try ... finally is
probably the most common), so I was suggesting that we group the most
requested ones into a single camlp4 rather than users having to keep up with
and constantly specify multiple camlp4s.


> David
> _______________________________________________
> Caml-list mailing list. Subscription management:
> Archives:
> Beginner's list:
> Bug reports: