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
Ocaml compiler features
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-01-15 (00:06)
From: tab@s...
Subject: Re: [Caml-list] Ocaml compiler features
On Sun, Jan 14, 2007 at 08:49:57PM +0000, Jon Harrop wrote:
> Does it make code unsharable or can you apply multiple camlp4 macros to one 
> piece of code?

What I meant, is when you need to read code that used camlp4 you need to
learn almost a new language. It obviously depends of the changes, but
it's not pure OCaml.

I can trivially find a lots of different incompatible syntax doing a 5s
search, that's the problem.

The common syntax "extensions" should come with OCaml so that everyone
that use OCaml use the same language. I'm not saying camlp4 has no use,
but it should be limited to very specific use.

Vincent Hanquez