caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] OCaml mechanize?
@ 2013-04-27 14:51 Paolo Donadeo
  2013-04-27 15:58 ` Stéphane Glondu
  0 siblings, 1 reply; 5+ messages in thread
From: Paolo Donadeo @ 2013-04-27 14:51 UTC (permalink / raw)
  To: OCaml mailing list

[-- Attachment #1: Type: text/plain, Size: 136 bytes --]

Is there something available in OCaml along the line of Python
"mechanize<http://wwwsearch.sourceforge.net/mechanize/>
"?


-- 
*Paolo*

[-- Attachment #2: Type: text/html, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Caml-list] OCaml mechanize?
  2013-04-27 14:51 [Caml-list] OCaml mechanize? Paolo Donadeo
@ 2013-04-27 15:58 ` Stéphane Glondu
  2013-05-02  8:14   ` Richard W.M. Jones
  0 siblings, 1 reply; 5+ messages in thread
From: Stéphane Glondu @ 2013-04-27 15:58 UTC (permalink / raw)
  To: Paolo Donadeo; +Cc: OCaml mailing list

Le 27/04/2013 16:51, Paolo Donadeo a écrit :
> Is there something available in OCaml along the line of Python
> "mechanize <http://wwwsearch.sourceforge.net/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=pkg-ocaml-maint/packages/perl4caml.git


Cheers,

-- 
Stéphane


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Caml-list] OCaml mechanize?
  2013-04-27 15:58 ` Stéphane Glondu
@ 2013-05-02  8:14   ` Richard W.M. Jones
  2013-05-02  8:18     ` [Caml-list] oasis help: forcing the name of generated executables Francois Berenger
  0 siblings, 1 reply; 5+ messages in thread
From: Richard W.M. Jones @ 2013-05-02  8:14 UTC (permalink / raw)
  To: Stéphane Glondu; +Cc: Paolo Donadeo, OCaml mailing list

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 <http://wwwsearch.sourceforge.net/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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Caml-list] oasis help: forcing the name of generated executables
  2013-05-02  8:14   ` Richard W.M. Jones
@ 2013-05-02  8:18     ` Francois Berenger
  2013-05-02  9:32       ` [Caml-list] " Sylvain Le Gall
  0 siblings, 1 reply; 5+ messages in thread
From: Francois Berenger @ 2013-05-02  8:18 UTC (permalink / raw)
  To: caml-list

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Caml-list] Re: oasis help: forcing the name of generated executables
  2013-05-02  8:18     ` [Caml-list] oasis help: forcing the name of generated executables Francois Berenger
@ 2013-05-02  9:32       ` Sylvain Le Gall
  0 siblings, 0 replies; 5+ messages in thread
From: Sylvain Le Gall @ 2013-05-02  9:32 UTC (permalink / raw)
  To: Francois Berenger; +Cc: caml-list

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 <berenger@riken.jp>:
> 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.
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-05-02  9:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-27 14:51 [Caml-list] OCaml mechanize? Paolo Donadeo
2013-04-27 15:58 ` Stéphane Glondu
2013-05-02  8:14   ` Richard W.M. Jones
2013-05-02  8:18     ` [Caml-list] oasis help: forcing the name of generated executables Francois Berenger
2013-05-02  9:32       ` [Caml-list] " Sylvain Le Gall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).