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 1133B7F89E for ; Sat, 5 Apr 2014 22:33:16 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of andy.ray@ujamjar.com) identity=pra; client-ip=31.172.243.2; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="andy.ray@ujamjar.com"; x-sender="andy.ray@ujamjar.com"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of andy.ray@ujamjar.com) identity=mailfrom; client-ip=31.172.243.2; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="andy.ray@ujamjar.com"; x-sender="andy.ray@ujamjar.com"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@www.ujamjar.com) identity=helo; client-ip=31.172.243.2; receiver=mail3-smtp-sop.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: AnsGAJxmQFMfrPMC/2dsb2JhbABYg0FXrUMBl1sedINLXRIBBQEihiSBaAQJnHaDDq4xEwSTMASYW5BQGCmBLoMxgXE X-IPAS-Result: AnsGAJxmQFMfrPMC/2dsb2JhbABYg0FXrUMBl1sedINLXRIBBQEihiSBaAQJnHaDDq4xEwSTMASYW5BQGCmBLoMxgXE X-IronPort-AV: E=Sophos;i="4.97,801,1389740400"; d="scan'208";a="55741787" Received: from vm12460.vps.tagadab.com (HELO www.ujamjar.com) ([31.172.243.2]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/ADH-AES256-SHA; 05 Apr 2014 22:33:15 +0200 Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by www.ujamjar.com (Postfix) with ESMTPSA id 5C6F5124340 for ; Sat, 5 Apr 2014 21:33:04 +0100 (BST) Received: by mail-wi0-f170.google.com with SMTP id bs8so4285450wib.3 for ; Sat, 05 Apr 2014 13:32:53 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.180.84.73 with SMTP id w9mr13956630wiy.58.1396729973820; Sat, 05 Apr 2014 13:32:53 -0700 (PDT) Received: by 10.180.94.98 with HTTP; Sat, 5 Apr 2014 13:32:53 -0700 (PDT) Date: Sat, 5 Apr 2014 21:32:53 +0100 Message-ID: From: Andy Ray To: Ocaml Mailing List Content-Type: text/plain; charset=ISO-8859-1 Subject: [Caml-list] [ANN] IOCaml 0.4 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