[Caml-list] "Virtual" dependencies in ocamlbuild

2009-01-24 Thread Stéphane Glondu
Hi all, Is there any way to add a dependency to a .cma file without adding it to the linking command? It seems that "dep" from the API also adds the dependency for linking: for example, if that dependency is a stamp file, that stamp file is stupidly added to "ocamlc -a" command, making it fail.

Re: [Caml-list] "Virtual" dependencies in ocamlbuild

2009-01-24 Thread Nicolas Pouillard
Excerpts from Stéphane Glondu's message of Sat Jan 24 19:27:08 +0100 2009: > Hi all, > > Is there any way to add a dependency to a .cma file without adding it to > the linking command? > > It seems that "dep" from the API also adds the dependency for linking: > for example, if that dependency is

[Caml-list] camlp4 compilation model

2009-01-24 Thread Mikkel Fahnøe Jørgensen
Hi, I've put camlp4 on the backburner, but I think it is useful to know it a bit better, especially because several libraries are using it. a) I understand you can write a cryptic ocaml program that effectively builds and AST from whatever grammar you decide by applying camlp4. b) I also understa

Re: [Caml-list] camlp4 compilation model

2009-01-24 Thread blue storm
On 1/24/09, Mikkel Fahnøe Jørgensen wrote: > a) I understand you can write a cryptic ocaml program that effectively > builds and AST from whatever grammar you decide by applying camlp4. Right. > b) I also understand that camlp4 it has a built in ocaml syntax that > you can extend, and therefore

[Caml-list] JIT compilation of OCaml's bytecode

2009-01-24 Thread Jon Harrop
AFAIK, OCaml's bytecode is typeless. How hard would it be to infer types from the bytecode in order to create type-specific functions during JIT compilation? -- Dr Jon Harrop, Flying Frog Consultancy Ltd. http://www.ffconsultancy.com/?e ___ Caml-lis