Re: [Caml-list] Define parser and printer consistently

2010-12-09 Thread Romain Bardou
. I've copied the darcs repository on my website : http://romain.bardou.fr/parsini So you should be able to download it easily with : darcs get http://romain.bardou.fr/parsini Have fun, -- Romain Bardou ___ Caml-list mailing list. Subscription

[Caml-list] New Tuareg Mode

2010-07-20 Thread Romain Bardou
of taste and that it's not really important, so if nothing can be done, so be it. -- Romain Bardou ___ Caml-list mailing list. Subscription management: http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list Archives: http://caml.inria.fr Beginner's

Re: [Caml-list] Ocamldoc and Unicode characters

2010-06-04 Thread Romain Bardou
for this in ocamldoc would be nice and forward looking (since the rest of the tool suite is perfectly able to deal directly with UTF-8 encoded sources). Agreed, but 3.12.0 is already in feature freeze. Will be for 3.12.1. Great ! I'll just wait then :p -- Romain Bardou

[Caml-list] Ocamldoc and Unicode characters

2010-06-03 Thread Romain Bardou
to change the encoding information? Thanks, -- Romain Bardou ___ 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

Re: [Caml-list] Module abbreviation

2009-12-18 Thread Romain Bardou
Basile STARYNKEVITCH wrote: Romain Bardou wrote: Basile STARYNKEVITCH wrote: Romain Bardou wrote: Hello, dear Caml-list, I have a file ast.mli. It has no .ml implementation as it contains only type definitions. Then you should name that file ast.ml. Last time I tested (more than a year

Re: [Caml-list] Module abbreviation

2009-12-17 Thread Romain Bardou
Basile STARYNKEVITCH wrote: Romain Bardou wrote: Hello, dear Caml-list, I have a file ast.mli. It has no .ml implementation as it contains only type definitions. Then you should name that file ast.ml. Last time I tested (more than a year ago) n ast.ml file without corresponding ast.mli

[Caml-list] Module abbreviation

2009-12-15 Thread Romain Bardou
(with or without implementation) and return its signature. Thanks, -- Romain Bardou ___ 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

Re: [Caml-list] ocamlbuild and ocamlfind - using multiple grammars in a project

2009-04-08 Thread Romain Bardou
another file than myocamlbuild.ml for additional build instructions? At the moment I have a makefile that changes links to different files, but I'm not happy too with this method. Unfortunately, not yet. -- Romain Bardou ___ Caml-list mailing list

Re: [Caml-list] ocamlbuild and ocamlfind - using multiple grammars in a project

2009-04-08 Thread Romain Bardou
So, just tag your files, but not two files with two syntax tags. Sorry, I meant do not tag a single given file with two syntax tags -- Romain Bardou ___ Caml-list mailing list. Subscription management: http://yquem.inria.fr/cgi-bin/mailman/listinfo

Re: [Caml-list] Question about the -dlambda option of ocamlc/ocamlopt

2009-03-25 Thread Romain Bardou
. In this example : let x = 1 in let x = 2 in x The /a number allows you to know which let variable is represented by the x at the end. -- Romain Bardou ___ Caml-list mailing list. Subscription management: http://yquem.inria.fr/cgi-bin/mailman/listinfo

Re: [Caml-list] ocamlbuild deps

2009-02-21 Thread Romain Bardou
Daniel Bünzli wrote: Le 20 févr. 09 à 16:39, Romain Bardou a écrit : I think there is a difference. It is indeed an optimization issue but not at the level of Ocamlbuild itself : it is as the level of your compilation process. If A *dynamically* depends on B, and your whole project (say, 10

Re: [Caml-list] Re: [ANN] OCaml Batteries Included, alpha 3

2009-02-09 Thread Romain Bardou
encountered and where did you look for the documentation. Please note that since the first OCaml meeting (last year), the wiki has changed quite a bit, so if you tried Ocamlbuild before, you might want to try it again. -- Romain Bardou ___ Caml-list

Re: [Caml-list] Re: [ANN] OCaml Batteries Included, alpha 3

2009-02-09 Thread Romain Bardou
becomes obsolete. -- Romain Bardou ___ 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

Re: ocamlbuild documentation (was Re: [Caml-list] Re: [ANN] OCaml Batteries Included, alpha 3)

2009-02-09 Thread Romain Bardou
to that ocamlbuild is an unwelcomed precedent. Is it just a matter of copy/pasting the contents of the wiki into the OCaml manual? Or does the wiki really lacks important information? As far as I can tell it does answer a lot of the questions you highlighted. -- Romain Bardou

Re: ocamlbuild documentation (was Re: [Caml-list] Re: [ANN] OCaml Batteries Included, alpha 3)

2009-02-09 Thread Romain Bardou
problem I have with the wiki is that it is not in the same place as the OCaml manual. Do we have to rename wiki into manual in which you can write your own notes ? :) -- Romain Bardou ___ Caml-list mailing list. Subscription management: http

Re: ocamlbuild documentation (was Re: [Caml-list] Re: [ANN] OCaml Batteries Included, alpha 3)

2009-02-09 Thread Romain Bardou
minimum? In my opinion, questions such as can I use the flag function inside the rule function are definitely not part of the bare minimum. (btw, the answer is: the use of the flag function inside the rule function is not specified, thus not documented) -- Romain Bardou

Re: ocamlbuild documentation (was Re: [Caml-list] Re: [ANN] OCaml Batteries Included, alpha 3)

2009-02-09 Thread Romain Bardou
about flag, where we clearly see an usage (After_rules). -- Romain Bardou ___ 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

[Caml-list] Melt 1.0.0 released : program LaTeX documents using OCaml

2009-02-04 Thread Romain Bardou
already been produced using Melt, so it is definitely usable. The documentation is included in the distribution (read the README). Some examples can be found in the bench directory (see doc.mlt). Have fun with Melt! :) -- Romain Bardou ___ Caml-list

Re: [Caml-list] ocamlbuild rule with recursive action

2008-12-03 Thread Romain Bardou
- (command * bool) Or maybe there is another way ? Daniel Well, you can also simply execute the commands yourself, in a loop, using Command.execute or Command.execute_many. -- Romain Bardou ___ Caml-list mailing list. Subscription management: http

Re: [Caml-list] ocamlbuild and installed modules and libraries

2008-11-17 Thread Romain Bardou
is not installed. I think there is a recent debate about the -I option of Ocamlbuild... -- Romain Bardou ___ 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] What does Jane Street use/want for an IDE? What about you?

2008-10-23 Thread Romain Bardou
of them because it was actually a tab, it's annoying because it's unpredictable. Altogether, this means that if you edit a file and put tabs in it, it may work for you, but it may annoy the people you give your file to :p -- Romain Bardou ___ Caml

Re: [Caml-list] What does Jane Street use/want for an IDE? What about you?

2008-10-23 Thread Romain Bardou
- very_long_stuff_blablablablablablablabla) IMO this is ugly and I try to avoid this indentation style, but it is not always easy and it is the behavior of the Tuareg mode (OCaml mode for emacs), and I think the vim OCaml mode too. -- Romain Bardou ___ Caml-list mailing list

Re: [Caml-list] Camelia progress, indenter

2008-10-20 Thread Romain Bardou
contents of a directory is enough, especially thanks to the fact that ocamlbuild does not pollute your source directory. -- Romain Bardou ___ Caml-list mailing list. Subscription management: http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list Archives

Re: [Caml-list] ocamlbuild: ml - cmx cmi o ?

2008-10-16 Thread Romain Bardou
; A -c; P ml]) end | _ - () end -- Romain Bardou ___ 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

Re: [Caml-list] ocamlbuild: ml - cmx cmi o ?

2008-10-16 Thread Romain Bardou
? -- Romain Bardou ___ 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

Re: [Caml-list] File inclusion with Ocamldoc

2008-10-15 Thread Romain Bardou
truc.docdic/index.html And it worked. Or maybe I didn't understand what you want? -- Romain Bardou ___ 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] Replacing Pervasives?

2008-09-08 Thread Romain Bardou
David Teller a écrit : Would that open anything by default? On Mon, 2008-09-08 at 12:04 +0200, Romain Bardou wrote: I guess you could try and make your own stdlib directory, and then call ocamlc using: ocamlc -nostdlib -I mystdlib or something like that... My guess is that it would try