Re: [Caml-list] Windows filenames and Unicode
On Wed, 29 Sep 2010 17:26:52 +1000 Paul Steckler wrote: > For Windows, I could use the same invariant, and modify the OCaml > runtime so that all calls to > Windows file primitives have those strings translated to UTF-16 (and > return values translated back > to UTF-8). That is, I'd have to build a custom version of OCaml and > wrap CreateFile, etc. with > such Unicode translation functions. Have a look at http://savannah.nongnu.org/patch/?4515 (and http://ygrek.org.ua/p/ocaml_unicode.html for ocaml/msvc). -- ygrek http://ygrek.org.ua ___ 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/bin/caml-bugs
[Caml-list] [ANN] ocaml-expect v0.0.2: Expect-like framework
This is a simple implementation of `expect` to help building unitary testing of interactive program. It helps to receive question and send answers from an interactive process. You can match the question using a regular expression (Str). You can also use a timeout to ensure that the process answer in time. See the [Expect manual](http://expect.nist.gov/) for more information and example. Changes: * Add a ~fmatch to expect, to dynamically define expect results * Allow to pass environment and redirect stderr to spawn * Add `Suffix/`Prefix/`Contains tests * Separate Str, add Pcre, create findlib packages expect.str and expect.pcre Homepage: http://forge.ocamlcore.org/projects/ocaml-expect/ Get source code: $ darcs get http://darcs.ocamlcore.org/repos/ocaml-expect Browse source code: http://darcs.ocamlcore.org/cgi-bin/darcsweb.cgi?r=ocaml-expect;a=summary [Generated by 'OASIS announce'] ___ 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/bin/caml-bugs