On Fri, Feb 1, 2008 at 12:26 PM, David Allsopp <dra-news@metastack.com> wrote:
> 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.

--Jonathan




David

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs