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 3EE867F890 for ; Sun, 6 Apr 2014 13:00:11 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of andy.ray@ujamjar.com) identity=pra; client-ip=31.172.243.2; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="andy.ray@ujamjar.com"; x-sender="andy.ray@ujamjar.com"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of andy.ray@ujamjar.com) identity=mailfrom; client-ip=31.172.243.2; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="andy.ray@ujamjar.com"; x-sender="andy.ray@ujamjar.com"; x-conformance=sidf_compatible Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@www.ujamjar.com) identity=helo; client-ip=31.172.243.2; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="andy.ray@ujamjar.com"; x-sender="postmaster@www.ujamjar.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArkEAK0yQVMfrPMC/2dsb2JhbABYg0FXxBGBDR50giUBAQEEgQkLCw0uIhIBBQEcBhOHeQQJnnWuCxeOeIQ4AQOYW4E0jxwYKYEugzE X-IPAS-Result: ArkEAK0yQVMfrPMC/2dsb2JhbABYg0FXxBGBDR50giUBAQEEgQkLCw0uIhIBBQEcBhOHeQQJnnWuCxeOeIQ4AQOYW4E0jxwYKYEugzE X-IronPort-AV: E=Sophos;i="4.97,802,1389740400"; d="scan'208";a="66707093" Received: from vm12460.vps.tagadab.com (HELO www.ujamjar.com) ([31.172.243.2]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/ADH-AES256-SHA; 06 Apr 2014 13:00:10 +0200 Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com [74.125.82.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by www.ujamjar.com (Postfix) with ESMTPSA id C8A5A12433C for ; Sun, 6 Apr 2014 11:59:59 +0100 (BST) Received: by mail-wg0-f45.google.com with SMTP id l18so5434942wgh.4 for ; Sun, 06 Apr 2014 03:59:49 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.194.236.232 with SMTP id ux8mr34327991wjc.46.1396781989264; Sun, 06 Apr 2014 03:59:49 -0700 (PDT) Received: by 10.180.94.98 with HTTP; Sun, 6 Apr 2014 03:59:49 -0700 (PDT) In-Reply-To: References: Date: Sun, 6 Apr 2014 11:59:49 +0100 Message-ID: From: Andy Ray To: Ocaml Mailing List Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [Caml-list] [ANN] IOCaml 0.4 You can now try iocamljs online. http://andrewray.github.io/iocamljs/min.html http://andrewray.github.io/iocamljs/full.html There's no way to save your work at the moment unfortunately. -Andy On Sat, Apr 5, 2014 at 9:32 PM, Andy Ray wrote: > IOCaml provides an OCaml REPL in a webbrowser. Version 0.4 frees us > from the tyranny of Python and provides an OCaml based webserver. Put > another way you no longer need IPython installed at all. > > The project is split into 3 opam packages; > > * iocaml-kernel (https://github.com/andrewray/iocaml) - byte code OCaml kernel > * iocamljs-kernel (https://github.com/andrewray/iocamljs) - javascript > OCaml kernel(s) > * iocaml (https://github.com/andrewray/iocamlserver) - iocaml webserver > > In general from a 4.01.0 compiler > > $ opam install iocaml > > should get everything installed. OS requirements are libssl-dev and > libzmq3-dev (possibly some others as well, let me know and I'll add > them to the project pages). Chrome, Firefox and Safari have been > tested. > > To run iocaml; > > $ iocaml > > or > > $ iocaml path/to/dir > > To bring up the dashboard interface. Or > > $ iocaml notebook.ipynb > > To directly load a notebook. > > Use the "-js " option to load a javascript based ocaml kernel. > > $ iocaml -js min [...] > > will load a minimal javascript ocaml REPL while > > $ iocaml -js full [...] > > will load a REPL with the js_of_ocaml and lwt libraries including > syntax extensions included. > > For those brave souls you can try > > $ iocaml -js min -serve-jslibs [...] > > and have a play with #use "topfind" / #require. Its probably worth > mentioning that the various "-serve" options allow the browser access > to your file system so don't run it on a public network without due > care. > > Cheers, > Andy