Hello all, there's an issue I'm still confused about although I read the Unix module documentation about it several times, probably because I couldn't simple...
... This is a general Unix question, and nothing particular to OCaml. It looks like you need to investigate the '-S' option to sudo. You can run 'sudo -S...
... In fact, in my experience the shell &bash on my Mac behave erratically and never seem to work the way the manuals or experts say they do ( I guess someone...
Hi all, I would like to "scan" a configuration file, pick up some values from it, and pass them as arguments to some functions. I also would like to make the...
Julien Michel
julien.michel@...
Jul 4, 2006 2:54 pm
6188
... there are various methods dependend on how complex your syntax is: - you can use fscanf to parse the lines, this works fine for simple constructs. - you...
Hi, Julien-- I'm not really an expert in lexing and parsing either, but I think I can help clarify the problem and your options a bit. [BTW, should you notice...
Hi, I want to exchange text between an ocaml core program and a graphical interface written in another language. Ocaml Manual says that named pipes (mkfifo)...
... Hi, Matt thank you for the long answer you g ... This message was sent using IMP, the Internet Messaging Program....
Julien Michel
julien.michel@...
Jul 5, 2006 7:58 am
6192
Hi Matt, thank you for taking time to answer my questions. ... Yes, It would be a good way to manage what I want. This is what I mean by "the program would run...
Julien Michel
julien.michel@...
Jul 5, 2006 9:24 am
6193
Hello all, after reading the documentation of the Unix module, I thought that the "logical" implementation of the "ls" function would go as follows :` let...
... There's no difference between what you can do from OCaml and what you can do from the shell. ... What about: List.sort (Array.to_list (Sys.readdir...
... And how do you explain this one (on my Mac ; unfortunately it is not reproducible on a different machine) : gai69-2-82-226-59-137:~ root# ocaml Objective...
... [Example of hacked shell doing some sort of interpretation of paths deleted] There's no difference between what an OCaml process can do and what your shell...
Two programs attached, which are supposed to do the same thing. The C version (gcc -O3) runs in about half the time of the OCaml program (ocamlopt -unsafe), so...
Try that again ... http://annexia.org/tmp/neural.ml http://annexia.org/tmp/b2_c.c Rich. -- Richard Jones, CTO Merjis Ltd. Merjis - web marketing and technology...
Hello ! I'm now using OCaml to write some interesting functions. I would be great to check for performance using an high-accuracy counter. The problem is that...
... I join tics, a little library I use, which is a wrap for QueryPerformanceCounter. I usually use it throug log, another one, that allow to accumulate ...
On Wed, Jul 05, 2006 at 11:04:18AM +0200, Julien Michel wrote: [...] ... [...] OK, so you have an idea about how your syntax/grammar should look. This is fine....
Oliver Bandel
oliver@...
Jul 7, 2006 1:07 pm
6204
... [...] ... A broken symbolic link.... ... not especially an Apple-Problem ;-) Ciao, Oliver...
Oliver Bandel
oliver@...
Jul 7, 2006 1:07 pm
6205
On Thu, Jul 06, 2006 at 09:00:53AM +0100, Richard Jones wrote: [...] ... [...] Necessary to mention, that Sys.readdir gives back the same as "ls -a" without...
Oliver Bandel
oliver@...
Jul 7, 2006 1:13 pm
6206
... You may be interested in the Benchmark module: http://ocaml-benchmark.sourceforge.net/ Cheers, ChriS...
Christophe TROESTLER
Christophe.Troestler@...
Jul 7, 2006 1:32 pm
6207
... [...] I doubt that this is the case.... When you are unexperienced with the shell, you have to work with it for a while to get experienced. Also shell is a...
Oliver Bandel
oliver@...
Jul 7, 2006 1:48 pm
6208
How (if at all) could I go about writing a wrapper function to sprintf which does something with the string sprintf returns -- say, prints it with parentheses...
... Hmmm... the OP specified Windows XP, but this is one of the unfortunately large set of possibly very useful packages that can not be built on Windows...
... Not sure I understand you here. The distribution contains a file "Make.bat" that allows compiling without problem on Win32. Granted, it was not mentioned...
Christophe TROESTLER
Christophe.Troestler@...
Jul 8, 2006 9:28 am
6213
... I just had the same problem (for a stochastic simulation) and I ended up using Genlex and Stream parsing using the camlp4o pre-processor. This ...