From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id E539F7EE51 for ; Sat, 27 Apr 2013 16:52:12 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of p.donadeo@gmail.com) identity=pra; client-ip=209.85.219.42; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="p.donadeo@gmail.com"; x-sender="p.donadeo@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of p.donadeo@gmail.com designates 209.85.219.42 as permitted sender) identity=mailfrom; client-ip=209.85.219.42; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="p.donadeo@gmail.com"; x-sender="p.donadeo@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-oa0-f42.google.com) identity=helo; client-ip=209.85.219.42; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="p.donadeo@gmail.com"; x-sender="postmaster@mail-oa0-f42.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlgCAJbke1HRVdsqm2dsb2JhbABTgz2CcAFGqSaSYggWDgEBAQEBBgsLCRQogkkdARseAxIIAQIFNwIkAREBBQEiiBYBAw8Mnn+CcotiT4J9hCoKGScNWYdeAQUMkVGBEwOXHoEmjh8WKYQ5Og X-IPAS-Result: AlgCAJbke1HRVdsqm2dsb2JhbABTgz2CcAFGqSaSYggWDgEBAQEBBgsLCRQogkkdARseAxIIAQIFNwIkAREBBQEiiBYBAw8Mnn+CcotiT4J9hCoKGScNWYdeAQUMkVGBEwOXHoEmjh8WKYQ5Og X-IronPort-AV: E=Sophos;i="4.87,562,1363129200"; d="scan'208";a="15125270" Received: from mail-oa0-f42.google.com ([209.85.219.42]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 27 Apr 2013 16:52:12 +0200 Received: by mail-oa0-f42.google.com with SMTP id i10so4914044oag.29 for ; Sat, 27 Apr 2013 07:52:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:from:date:message-id:subject:to :content-type; bh=WcUTV+qRFQg4S2ogCms6FzuLV3Je1cJIMPO/CAnIBSs=; b=lG7FJ6IkZ6lh7s675h1maBDi7xq0mf4JWGxlxV41Wo3xTsYMYvYU6vRtVNXlW9oJEu s9Tzq7lYUBMAm8PJKWW7DZl4TTTJ9dLVcnhlskLHtiLsPdkm5WYwuempEQb5HTalN/Pn 4HfOAoWJbzvk5KbB1jk+k4I9k9mQi2quBhkTqb1xJnkHtvBHqFvvTmjxq3clbcbEzIEk Ta+QZU1Oy53PDGnUsnMpW6iyWMdg3vX5XhMBQW663nXT056yrdXxBCvK5zxpNsYhcly9 Vlwlioc33eQVVv2F+0jD4Zc3eDk+Y+Zw2w045BhTZv5Vq0H5nJ4gTKxo9N3IP8wdtt2S fc3A== X-Received: by 10.60.50.70 with SMTP id a6mr21289604oeo.43.1367074330991; Sat, 27 Apr 2013 07:52:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.171.231 with HTTP; Sat, 27 Apr 2013 07:51:30 -0700 (PDT) From: Paolo Donadeo Date: Sat, 27 Apr 2013 16:51:30 +0200 Message-ID: To: OCaml mailing list Content-Type: multipart/alternative; boundary=001a11c1d39ae1b73104db58cb1d Subject: [Caml-list] OCaml mechanize? --001a11c1d39ae1b73104db58cb1d Content-Type: text/plain; charset=UTF-8 Is there something available in OCaml along the line of Python "mechanize "? -- *Paolo* --001a11c1d39ae1b73104db58cb1d Content-Type: text/html; charset=UTF-8
Is there something available in OCaml along the line of Python "mechanize"?


--
Paolo
--001a11c1d39ae1b73104db58cb1d-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 4F9A27EE51 for ; Sat, 27 Apr 2013 17:58:25 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of steph@glondu.net) identity=pra; client-ip=138.231.136.39; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="steph@glondu.net"; x-sender="steph@glondu.net"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of steph@glondu.net) identity=mailfrom; client-ip=138.231.136.39; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="steph@glondu.net"; x-sender="steph@glondu.net"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of postmaster@redisdead.crans.org designates 138.231.136.39 as permitted sender) identity=helo; client-ip=138.231.136.39; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="steph@glondu.net"; x-sender="postmaster@redisdead.crans.org"; x-conformance=sidf_compatible; x-record-type="v=spf1" X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkcBAD31e1GK54gnmWdsb2JhbABTgz0Bgza7EIECFg4BAQEBAQgLCwcUKIIgAQUjVQEQCw4MAgUWCwICCQMCAQIBRQYNAQcCiBIECK1OkQSBI41EMweCPIETA5cegSaEbY4q X-IPAS-Result: AkcBAD31e1GK54gnmWdsb2JhbABTgz0Bgza7EIECFg4BAQEBAQgLCwcUKIIgAQUjVQEQCw4MAgUWCwICCQMCAQIBRQYNAQcCiBIECK1OkQSBI41EMweCPIETA5cegSaEbY4q X-IronPort-AV: E=Sophos;i="4.87,564,1363129200"; d="scan'208";a="15128055" Received: from redisdead.crans.org ([138.231.136.39]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/ADH-AES256-SHA; 27 Apr 2013 17:58:10 +0200 Received: from [10.125.1.2] (fbx.up7.fr [81.56.96.177]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by redisdead.crans.org (Postfix) with ESMTPSA id DDD4E2284; Sat, 27 Apr 2013 17:58:09 +0200 (CEST) Message-ID: <517BF591.4060504@glondu.net> Date: Sat, 27 Apr 2013 17:58:09 +0200 From: =?UTF-8?B?U3TDqXBoYW5lIEdsb25kdQ==?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130413 Icedove/17.0.5 MIME-Version: 1.0 To: Paolo Donadeo CC: OCaml mailing list References: In-Reply-To: X-Enigmail-Version: 1.6a1pre OpenPGP: id=49881AD3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Caml-list] OCaml mechanize? Le 27/04/2013 16:51, Paolo Donadeo a =C3=A9crit : > Is there something available in OCaml along the line of Python > "mechanize "? There are bindings to Perl's WWW::Mechanize in perl4caml. Its website seems down, but it is packaged in Debian [1]. [1] http://anonscm.debian.org/gitweb/?p=3Dpkg-ocaml-maint/packages/perl4caml.git Cheers, --=20 St=C3=A9phane From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id B940C7EE51 for ; Thu, 2 May 2013 10:14:26 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of rich@annexia.org) identity=pra; client-ip=80.68.91.176; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="rich@annexia.org"; x-sender="rich@annexia.org"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of rich@annexia.org designates 80.68.91.176 as permitted sender) identity=mailfrom; client-ip=80.68.91.176; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="rich@annexia.org"; x-sender="rich@annexia.org"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@furbychan.cocan.org) identity=helo; client-ip=80.68.91.176; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="rich@annexia.org"; x-sender="postmaster@furbychan.cocan.org"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApcRAEwfglFQRFuw/2dsb2JhbABSgwc3gU2BASO8LwEBAgGBAhZ0gh8BAQUyAUYQCxgJExIPBSghiCMIv1aGF4d0GAwsRweCcWEDlyiBJ5ALgw47 X-IPAS-Result: ApcRAEwfglFQRFuw/2dsb2JhbABSgwc3gU2BASO8LwEBAgGBAhZ0gh8BAQUyAUYQCxgJExIPBSghiCMIv1aGF4d0GAwsRweCcWEDlyiBJ5ALgw47 X-IronPort-AV: E=Sophos;i="4.87,595,1363129200"; d="scan'208";a="12957270" Received: from furbychan.cocan.org ([80.68.91.176]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/AES256-SHA; 02 May 2013 10:14:25 +0200 Received: from rich by furbychan.cocan.org with local (Exim 4.72) (envelope-from ) id 1UXoef-0000kg-Sf; Thu, 02 May 2013 09:14:17 +0100 Date: Thu, 2 May 2013 09:14:17 +0100 From: "Richard W.M. Jones" To: =?iso-8859-1?Q?St=E9phane?= Glondu Cc: Paolo Donadeo , OCaml mailing list Message-ID: <20130502081417.GE30390@annexia.org> References: <517BF591.4060504@glondu.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <517BF591.4060504@glondu.net> User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: [Caml-list] OCaml mechanize? On Sat, Apr 27, 2013 at 05:58:09PM +0200, Stéphane Glondu wrote: > Le 27/04/2013 16:51, Paolo Donadeo a écrit : > > Is there something available in OCaml along the line of Python > > "mechanize "? > > There are bindings to Perl's WWW::Mechanize in perl4caml. Its website > seems down, The latest code is in the git repo: http://git.annexia.org/?p=perl4caml.git;a=summary Rich. -- Richard Jones Red Hat From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 8A2FD7EE51 for ; Thu, 2 May 2013 10:18:40 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of berenger@riken.jp) identity=pra; client-ip=134.160.33.162; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="berenger@riken.jp"; x-sender="berenger@riken.jp"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of berenger@riken.jp designates 134.160.33.162 as permitted sender) identity=mailfrom; client-ip=134.160.33.162; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="berenger@riken.jp"; x-sender="berenger@riken.jp"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of postmaster@postman.riken.jp designates 134.160.33.162 as permitted sender) identity=helo; client-ip=134.160.33.162; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="berenger@riken.jp"; x-sender="postmaster@postman.riken.jp"; x-conformance=sidf_compatible; x-record-type="v=spf1" X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AoYDAF4gglGGoCGinGdsb2JhbABSgz+MD7MMBAQBgRcOAQEBAQEGDQkJFCiCIAEFOEARLBYPCQMCAQIBRRMIAQGICL9tjykWgzwDiRWOFIYUjjk X-IPAS-Result: AoYDAF4gglGGoCGinGdsb2JhbABSgz+MD7MMBAQBgRcOAQEBAQEGDQkJFCiCIAEFOEARLBYPCQMCAQIBRRMIAQGICL9tjykWgzwDiRWOFIYUjjk X-IronPort-AV: E=Sophos;i="4.87,595,1363129200"; d="scan'208";a="12957972" Received: from postman2.riken.jp (HELO postman.riken.jp) ([134.160.33.162]) by mail3-smtp-sop.national.inria.fr with ESMTP; 02 May 2013 10:18:38 +0200 Received: from postman.riken.jp (postman2.riken.jp [127.0.0.1]) by postman.riken.jp (Postfix) with SMTP id 20F3012604B3; Thu, 2 May 2013 17:18:35 +0900 (JST) Received: from [172.27.98.103] (rikad98.riken.jp [134.160.214.98]) by postman.riken.jp (Postfix) with ESMTPA id D8D261270051; Thu, 2 May 2013 17:18:34 +0900 (JST) Message-ID: <5182215A.5050707@riken.jp> Date: Thu, 02 May 2013 17:18:34 +0900 From: Francois Berenger User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: caml-list@inria.fr References: <517BF591.4060504@glondu.net> <20130502081417.GE30390@annexia.org> In-Reply-To: <20130502081417.GE30390@annexia.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.6.0.2009776, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2013.5.2.80633 Subject: [Caml-list] oasis help: forcing the name of generated executables Hello, Is there a way to tell oasis to name an executable toto instead of toto.native? I build only native binaries, so there is not any toto.byte around. Thanks a lot, F. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id CE6BC7EE51 for ; Thu, 2 May 2013 11:32:39 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of gildor478@gmail.com) identity=pra; client-ip=209.85.223.175; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="gildor478@gmail.com"; x-sender="gildor478@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of gildor478@gmail.com designates 209.85.223.175 as permitted sender) identity=mailfrom; client-ip=209.85.223.175; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="gildor478@gmail.com"; x-sender="gildor478@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-ie0-f175.google.com) identity=helo; client-ip=209.85.223.175; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="gildor478@gmail.com"; x-sender="postmaster@mail-ie0-f175.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ah4DAPsxglHRVd+vlGdsb2JhbABSw1cIFg4BAQEBBwsLCRIqgiABBUABOAEDDAEFBQs7IhIBBQEcBhOHegMPpAyPNoRgJw2HbgEFDJJvA5cpj0wWKYFcglk6 X-IPAS-Result: Ah4DAPsxglHRVd+vlGdsb2JhbABSw1cIFg4BAQEBBwsLCRIqgiABBUABOAEDDAEFBQs7IhIBBQEcBhOHegMPpAyPNoRgJw2HbgEFDJJvA5cpj0wWKYFcglk6 X-IronPort-AV: E=Sophos;i="4.87,595,1363129200"; d="scan'208";a="12969294" Received: from mail-ie0-f175.google.com ([209.85.223.175]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 02 May 2013 11:32:38 +0200 Received: by mail-ie0-f175.google.com with SMTP id s9so397260iec.20 for ; Thu, 02 May 2013 02:32:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=UXa2Zq9GljfPH/iQGZiL9Bw0QQHgqy9OUWKM0wOUQNg=; b=Xy8Kyx5Ol3TN6KUFRyJDreLoelQVCCGCxfKRCeoQjz45IccrTi1D2nB05uNJcF1X0U lFXkveg/xg+cKGMk0c/nIe0FHsKdYFF8lknnZk/J6GqjcI3xddoUZ3QdPSNdNKN5qqXg Ks1421k4NkhZB/113PHXgRCpDKjJ5KfHMi3onVywHUtcbwNH2XqUuv2jJjTesb6M6+wI cw5i48BxHH6q5iB90MR2Rl//1AfRqfOTuXXecf69nvkTKkexDSwoYcXKJAFMAEt/aJFe AV3C68t02vznJ4aW8aQYoMtEGv1zcvqS1rNbHYU7sgjKQ1qNZRbq9Iq8fxXykEsQy2v9 hLLA== MIME-Version: 1.0 X-Received: by 10.50.114.106 with SMTP id jf10mr6024365igb.111.1367487157866; Thu, 02 May 2013 02:32:37 -0700 (PDT) Sender: gildor478@gmail.com Received: by 10.64.7.166 with HTTP; Thu, 2 May 2013 02:32:37 -0700 (PDT) In-Reply-To: <5182215A.5050707@riken.jp> References: <517BF591.4060504@glondu.net> <20130502081417.GE30390@annexia.org> <5182215A.5050707@riken.jp> Date: Thu, 2 May 2013 11:32:37 +0200 X-Google-Sender-Auth: pMswM4UU_xHx48ezijN4GlCd0zo Message-ID: From: Sylvain Le Gall To: Francois Berenger Cc: caml-list Content-Type: text/plain; charset=ISO-8859-1 Subject: [Caml-list] Re: oasis help: forcing the name of generated executables Hi, >From an ocamlbuild point of view, no. Because you need to differentiate .native from .byte given the filename (e.g. like Makefile rules). Although, we can implement a tag "is_native_program": "foo/bar": is_native_program This could do the trick, but you need to check how to do it and maybe propose a patch to ocamlbuild. >From an oasis point of view, it is already done: There should be a rule that copy the exec to the right name at the end of the build process. If it is not the case, open a bug and I'll check the problem. However, you get foo.native and foo (one is a copy of the other). Regards Sylvain 2013/5/2 Francois Berenger : > Hello, > > Is there a way to tell oasis to name > an executable toto instead of toto.native? > > I build only native binaries, so there is not > any toto.byte around. > > Thanks a lot, > F. >