Re: [Caml-list] Lwt and OCamlMakefile

2010-12-21 Thread Adrien
all of the source :-) ). It also avoids the need to have a working camlp* on windows (msys). It doesn't work for mikmatch_pcre because it requires an additional library (for the "macro" feature) but it's been quite handy so far. Most credits for the script g

Re: [Caml-list] Desktop GUI toolkits - current state of the art?

2010-11-29 Thread Adrien
On 28/11/2010, Adrien wrote: > Hi, > > As far as I'm concerned I've started experimenting with the concept of > "tiling" (as used by tiling window managers) and zippers of horizontal > and vertical boxes. That's pretty much what xmonad (window manager >

Re: [Caml-list] Desktop GUI toolkits - current state of the art?

2010-11-28 Thread Adrien
the module, I've put it on vpaste.net[1]. It's a bit old and several things have been changed but it still shows how things are done. [1] http://vpaste.net/Vrukn? -- Adrien Nader ___ Caml-list mailing list. Subscription management: http://yquem.

Re: [Caml-list] Optional arguments "between" non-optional ones

2010-09-23 Thread Adrien
(f : _ -> ?a:_ -> _) = > f () () > > # let () = h f;; > bouh! > bouh! > I had tried to add an annotation too but (unit -> unit -> unit). Now, thinking again about it and with your explanation, I understand better why it had failed. I was trying to coerce f into a more

[Caml-list] Optional arguments "between" non-optional ones

2010-09-23 Thread Adrien
ce? And any chance of it getting improved? Thanks. -- Adrien Nader ___ 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/grou

Re: [Caml-list] More re GC hanging

2010-09-01 Thread Adrien
On 01/09/2010, Damien Doligez wrote: > > On 2010-08-15, at 12:45, Adrien wrote: > >> First, remove all non-tail-rec functions: no more List.map, @ or >> List.concat. All lists were pretty short (definitely less than 1000 >> elements) but maybe the amount of calls gen

Re: [Caml-list] More re GC hanging

2010-08-22 Thread Adrien
at? Anything to warn about errors in bindings? Finally, I don't think it has to do with the bug on 64bit systems with ASLR, at least not directly: I'm using ocaml 3.11.2 and tried with ASLR disabled. But I need to make a reproducer: the very high word count did not always show u

[Caml-list] [ANN] lablwebkit, generated with cowboy/glib

2010-08-22 Thread Adrien
core.org/cgi-bin/gitweb.cgi?p=cowboy/cowboy.git;a=summary [2] http://live.gnome.org/GObjectIntrospection [3] https://forge.ocamlcore.org/frs/download.php/450/lablwebkit-1.2.3.tar.gz [4] https://forge.ocamlcore.org/frs/download.php/449/lablwebkit-1.3.3.tar.gz [5] https:

[Caml-list] [ANN] cowboy and cowboy/glib preview, C binding generation framework

2010-08-18 Thread Adrien
ture to download) [2] http://padator.org/software-yacfe.php (see doc/yacfe on how to install it!) --- Adrien Nader ___ Caml-list mailing list. Subscription management: http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list Archives: http://caml.inria.fr B

Re: [Caml-list] More re GC hanging

2010-08-15 Thread Adrien
> /proc/sys/kernel/randomize_va_space zsh: permission denied: /proc/sys/kernel/randomize_va_space r...@jarjar:~# echo 0 > /proc/sys/kernel/randomize_va_space r...@jarjar:~# I can't use sudo to write to most files in /proc or /sys: I have to

Re: [Caml-list] ocamlcore.org not available

2010-04-24 Thread Adrien
Hi, There is indeed a problem with the forge currently but it should be working again soon. In the meantime, you should be able to reach ocamlcore.org at the following IP address: 87.98.154.45. --- Adrien Nader ___ Caml-list mailing list

[Caml-list] FRP and GTK

2010-04-12 Thread Adrien
t and gtk but I can't find it anymore. I'm not afraid of working on that aspect myself but wanted to know if there was already something or maybe at least some work on that. Thanks. --- Adrien Nader ___ Caml-list mailing list. Subs

Re: [Caml-list] exception not registered.Abandon

2010-03-13 Thread Adrien
ve you any clue? > FWIW, I've quickly grep'ed for 'exception not registered' in my ocaml install (which is fairly big) and all the results I got came from sdl stubs : sdl{stub,mixerstub,loaderstub}.{so,a}. --- Adrien Nader ___ Caml

Re: [Caml-list] Howto execute a command without the "cmd" windows opening?

2009-11-04 Thread Adrien
That's a bit hackish but you can also try to change the COMSPEC environment variable which points to cmd.exe by default. --- Adrien Nader ___ Caml-list mailing list. Subscription management: http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml

Re: [Caml-list] Binding C libraries which use variable arguments (stdarg.h)

2009-11-01 Thread Adrien
On 01/11/2009, Florian Weimer wrote: > * Adrien: > >> On 01/11/2009, Florian Weimer wrote: >>> * Adrien: >>> >>>> It turned out it worked on linux x86_32, linux x86_64, netbsd sparc64 >>>> with 32-bit userland, debian's kfreebsd amd64

Re: [Caml-list] Binding C libraries which use variable arguments (stdarg.h)

2009-11-01 Thread Adrien
On 01/11/2009, Florian Weimer wrote: > * Adrien: > >> It turned out it worked on linux x86_32, linux x86_64, netbsd sparc64 >> with 32-bit userland, debian's kfreebsd amd64 and ppc32. There's >> windows which I haven't checked yet though. > > x86_64

Re: [Caml-list] Binding C libraries which use variable arguments (stdarg.h)

2009-11-01 Thread Adrien
's good enough to actually check libffi works with variable arguments but it could probably be made better. Any comment welcome. I also asked on the libffi mailing-list and was told by someone it should work almost everywhere except on really exotic architec

Re: [Caml-list] Binding C libraries which use variable arguments (stdarg.h)

2009-10-29 Thread Adrien
On 29/10/2009, Goswin von Brederlow wrote: > Basile STARYNKEVITCH writes: > >> Adrien wrote: >>> Hi, >>> >>> I am currently trying to bind a C function that takes variables >>> arguments, like foo(int a, ...). I can't find how to make a C stub

Re: [Caml-list] Binding C libraries which use variable arguments (stdarg.h)

2009-10-29 Thread Adrien
On 28/10/2009, Basile STARYNKEVITCH wrote: > Adrien wrote: >> Hi, >> >> I am currently trying to bind a C function that takes variables >> arguments, like foo(int a, ...). I can't find how to make a C stub for >> that function. > > I am assuming that

[Caml-list] Binding C libraries which use variable arguments (stdarg.h)

2009-10-28 Thread Adrien
d to try libffi but it doesn't support varargs unfortunately. I also thought about doing it by hand but that's not the best idea for portability. Any other idea? Hint^WPointer? (sorry for the bad joke ;-) ) Thanks. PS: I was also told I was toast --- Adrien Nader _

[Caml-list] [ANN] ocaml-gir: automated binding generator

2009-10-24 Thread Adrien
g/projects/ocaml-gir/ [2] http://git.ocamlcore.org/cgi-bin/gitweb.cgi?p=ocaml-gir/ocaml-gir.git [3] https://forge.ocamlcore.org/frs/download.php/286/ocaml-gir-preview.tar.gz --- Adrien Nader ___ Caml-list mailing list. Subscription management: http:/

Re: [Caml-list] Scilab: Why not written in OCaml?

2009-09-19 Thread Adrien
moving to java instead of ocaml but I think other messages in this thread already do. :) [1] http://www.scilab.org/platform/index_platform.php?page=history --- Adrien Nader ___ Caml-list mailing list. Subscription management: http://yquem.inria.

Re: [Caml-list] Why don't you use batteries?

2009-09-06 Thread Adrien
hs, I've been there too) but they would at least show where the problems are and that's maybe the biggest part of the work. Please share them if you can. --- Adrien Nader On 06/09/2009, dmitry grebeniuk wrote: > 2009/9/5 David Allsopp : > >> I'm not sure that one is

[Caml-list] OCaml users and developpers map

2009-07-03 Thread Adrien
[1] https://www.ohloh.net/p/ocaml/map [2] https://www.ohloh.net/accounts/new [1] https://www.ohloh.net/p/ocaml --- Adrien Nader ___ Caml-list mailing list. Subscription management: http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list Ar

Re: [Caml-list] CSL executable for Windows, 1995 vin tage. Or Jens Klöumlcker?

2009-04-12 Thread Adrien
The differences are small. You should read "The big picture" [1]. An automatic converter is mentionned (and still accessible) at the bottom of the page. [1] http://caml.inria.fr/pub/old_caml_site/ocaml/bigpicture.html Hope this helps --- Adrien Nader On 12/04/2009, Stéphane Glo

Re : [Caml-list] Manipulating xml files withing ocaml

2008-11-23 Thread Adrien
PXP may be a better choice. It's harder at first, but not much and could be worth the five additionnal minutes required to learn it. It handles unicode and is still maintained (among others). --- Adrien Nader ___ Caml-list mailing list. Subscri

Re : [Caml-list] OCaml version 3.11.0+beta1

2008-10-16 Thread Adrien
l (=no dynamic linking of external C code) ocamlrun.exe for > 3.11 that does not require flexlink. > How often should we expect new releases of flexlink ? Basically, the question is : will it have to be updated from time to time or can we just drop it somewhere and forget everything abou

Re : [Caml-list] Re: Re : Re: Re : Road to native windows OCaml...

2008-10-14 Thread Adrien
2008/10/14, Sylvain Le Gall <[EMAIL PROTECTED]>: > On 14-10-2008, Adrien <[EMAIL PROTECTED]> wrote: >> 2008/10/14, Sylvain Le Gall <[EMAIL PROTECTED]>: >>> On 14-10-2008, Adrien <[EMAIL PROTECTED]> wrote: >>>> 2008/10/14, Daniel Bünzli <[EM

Re : Re : [Caml-list] Road to native windows OCaml...

2008-10-14 Thread Adrien
2008/10/14, Dmitry Bely <[EMAIL PROTECTED]>: > On Tue, Oct 14, 2008 at 1:41 PM, Adrien <[EMAIL PROTECTED]> wrote: > >>>> Can I ask what the motivation is for this (out of interest, not >>>> criticism)? >>> >>> Maybe because if you want to

Re : [Caml-list] Re: Re : Road to native windows OCaml...

2008-10-14 Thread Adrien
2008/10/14, Sylvain Le Gall <[EMAIL PROTECTED]>: > On 14-10-2008, Adrien <[EMAIL PROTECTED]> wrote: >> 2008/10/14, Daniel Bünzli <[EMAIL PROTECTED]>: >>> >>> Le 14 oct. 08 à 09:59, David Allsopp a écrit : >>> >>>> Can I ask wh

Re : [Caml-list] Road to native windows OCaml...

2008-10-14 Thread Adrien
< mac osx < msys/mingw < cygwin/mingw. ./configure runs take about 10 to 20 more time under cygwin than under linux and only about 4 more time under msys. It gets quickly painful, 2 seconds per configure line when there will be 300 lines is hard to stand. [2] h

Re : [Caml-list] Reading external references from cmo/cmx files

2008-10-05 Thread Adrien
I found a link but it's 2003, ocaml 3.04. I don't know how relevant it is. http://groups.google.com/group/fa.caml/msg/943e8b6642d23992 --- Adrien Nader 2008/10/5, Stefano Zacchiroli <[EMAIL PROTECTED]>: > On Sat, Oct 04, 2008 at 10:41:56PM +0200, Stéphane Glondu wrote: &g

Re : Re : [Caml-list] Syntax highlighting and Ocaml/PHP integration

2008-10-01 Thread Adrien
Btw, geshi is not the fastest code highlighter around. --- Adrien Nader ___ Caml-list mailing list. Subscription management: http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list Archives: http://caml.inria.fr Beginner's list:

Re : [Caml-list] Syntax highlighting and Ocaml/PHP integration

2008-10-01 Thread Adrien
you want to hack it. (* I've been going through (p)7zip to write bindings, why does C++ have to be that horrible ? *) The code might be perfectly understandable though, I've not looked at it. [1] http://www.andre-simon.de/doku/highlight/highlight.html [2] http://martin.

Re : [Caml-list] XML library for validating MathML

2008-09-18 Thread Adrien
precise, I'm already late. --- Adrien Nader 2008/9/18, Matt Gushee <[EMAIL PROTECTED]>: > Oops, shoulda sent to the list first time. Sorry, Rich. > > Richard Jones wrote: >> On Wed, Sep 17, 2008 at 11:58:05AM -0700, Dario Teixeira wrote: >>> There are of course

Re: [Caml-list] Array copying in OCaml

2008-07-24 Thread Adrien
7;re sure you won't be out of bounds (or are not trying to catch any exception), you can safely use -unsafe. If you don't want to affect globally your program, you can also use Array.unsafe_get or Arra.unsafe_set. I don't know the full list though. --- Adrien Nader 2008/7/24 Ra

Re: [Caml-list] Re: thousands of CPU cores

2008-07-15 Thread Adrien
2008/7/15 Adrien <[EMAIL PROTECTED]>: > 2008/7/15 Gerd Stolpmann <[EMAIL PROTECTED]>: >> >> Well, there's now SFU for Windows (but only for XP Professional and >> Windows 2003, not for XP Home and Vista, AFAIK). That's a cool solution >> when you

Re: [Caml-list] Re: thousands of CPU cores

2008-07-15 Thread Adrien
..). [1] : http://www.microsoft-watch.com/content/operating_systems/its_the_end_of_the_line_for_microsofts_services_for_unix_product.html The not-so-funny part is that applications compiled under SFU need SFU installed to run so this limits portability but ocaml-compi

Re: [Caml-list] GODI News: RocketBoost Beta

2008-06-16 Thread Adrien
I just tried removing the files without the .exe suffix and "godi_console perform -build godi-tools" now works. If there is any test I can run, I'll be happy to do so. --- Adrien Nader 2008/6/16 Gerd Stolpmann <[EMAIL PROTECTED]>: > > Am Sonntag, den 15.06.2008,

Re: [Caml-list] GODI News: RocketBoost Beta

2008-06-15 Thread Adrien
2008/6/15 Gerd Stolpmann <[EMAIL PROTECTED]>: > > Am Sonntag, den 15.06.2008, 18:32 +0200 schrieb Adrien: >> Hi, >> >> First, thanks for your work for the windows platform. >> >> I've just tried this beta. Overall it worked quite well (it compiled >

Re: [Caml-list] GODI News: RocketBoost Beta

2008-06-15 Thread Adrien
hand several times but I keep on forgetting this step. Thanks. --- Adrien Nader 2008/6/15 Gerd Stolpmann <[EMAIL PROTECTED]>: > Hi, > > In the past weeks I've worked hard to finish the next GODI release, > focusing on portability. A beta version of the new bootstrap and > godi_con