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 5341F7F20B for ; Mon, 11 Feb 2013 13:59:15 +0100 (CET) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of gabriel.scherer@gmail.com) identity=pra; client-ip=209.85.214.43; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="gabriel.scherer@gmail.com"; x-sender="gabriel.scherer@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of gabriel.scherer@gmail.com designates 209.85.214.43 as permitted sender) identity=mailfrom; client-ip=209.85.214.43; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="gabriel.scherer@gmail.com"; x-sender="gabriel.scherer@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-bk0-f43.google.com) identity=helo; client-ip=209.85.214.43; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="gabriel.scherer@gmail.com"; x-sender="postmaster@mail-bk0-f43.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnUBAMvpGFHRVdYrkGdsb2JhbABEri2SYggWDgEBAQEJCQ0HFAQjgh8BAQVAARsQAQELAQMMBgULDQ0hIgERAQUBCgQBDQYTEg2HYAEDDwyhbYw0gnuDbwoZJwMKWYh8AQUMkgEDliSBHY1UFimEKoFlJA X-IPAS-Result: AnUBAMvpGFHRVdYrkGdsb2JhbABEri2SYggWDgEBAQEJCQ0HFAQjgh8BAQVAARsQAQELAQMMBgULDQ0hIgERAQUBCgQBDQYTEg2HYAEDDwyhbYw0gnuDbwoZJwMKWYh8AQUMkgEDliSBHY1UFimEKoFlJA X-IronPort-AV: E=Sophos;i="4.84,643,1355094000"; d="scan'208";a="2311082" Received: from mail-bk0-f43.google.com ([209.85.214.43]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 11 Feb 2013 13:59:14 +0100 Received: by mail-bk0-f43.google.com with SMTP id jm19so2629783bkc.30 for ; Mon, 11 Feb 2013 04:59:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=Z21HYQ2+rgBAaJR45VA10HQ3Tl0GphwoYf210lKeIyQ=; b=AoCnpJuEs236ovWfmPkyx3u8yLP3cIQqh5ovnFs6UH+8jElAIK6c2yp1yhoFCjy85M xagQsrLPU+7b2Ci0IYylvLIVgpBZ5G00tz56NHio+0xvvwOgf342nttxRr7jVFt+NfDf PnzdAPo7gwEIkDxrYgU2vCyL/zTo6R1DmAaa/sYArpHr0ix2XmHXn3TR6Wik9hinNgu/ igrjIUbVVuvn178z/CHfrixJMGaZWpedPSlmahC7dEOGYQ8EWoMjW16EjOPQ8dRjrTmS UYz72Ww4e7mtL3FffZSxD/JOuFhWxqvQWYUB0z4+3WccQYWSXDBx+fCz3qHx3JNDZ8qS WASA== X-Received: by 10.204.9.16 with SMTP id j16mr4043793bkj.53.1360587554106; Mon, 11 Feb 2013 04:59:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.205.83.144 with HTTP; Mon, 11 Feb 2013 04:58:32 -0800 (PST) In-Reply-To: <5118E87C.3010301@inria.fr> References: <201302111240.35711.louis.gesbert@ocamlpro.com> <5118E87C.3010301@inria.fr> From: Gabriel Scherer Date: Mon, 11 Feb 2013 13:58:32 +0100 Message-ID: To: Fabrice Le Fessant Cc: Louis Gesbert , caml-list@inria.fr Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Caml-list] geany as an ocaml ide The OCaml installer for windows ( http://protz.github.com/ocaml-installer/ ) optionally downloads and install Emacs, configured for OCaml use. Couldn't the same approach be used to install Geany (or whatever modern-beginner-friendly existing editor that works on Windows) on end-user systems? On Mon, Feb 11, 2013 at 1:47 PM, Fabrice Le Fessant wrote: > Hi Gabriel, > > The goal of this editor is not to replace Emacs or VI, but to be part o= f a > minimal distribution under Windows (by OCamlPro): the idea is that Windows > users downloading OCaml should be able to start writing a simple OCaml > program without installing anything else. Of course, under Linux/Mac OS X, > or for bigger projects, they would be advised to use more powerful editors > (Emacs, Vim, Notepad++, etc.). > > Moreover, the two paradigms are not incompatible: you can imagine two > versions of the "editor", one version with an interface (GTK or whatever)= to > interact with beginners, another version with a argument/text interface, = to > interact with other editors, both providing the same set of functionaliti= es > (indentation, coloring, documentation, code navigation, etc.) through the > same set of libraries, and why not a Javascript version through > js_of_ocaml... > > --Fabrice > > > On 02/11/2013 01:14 PM, Gabriel Scherer wrote: >> >> I must say I'm a bit dubious of dedicated editors: people prefer to >> use the tools they're familiar with from other languages, and I'm not >> really sure what the added value of a different tool would be. There >> have been attempts to write editors for OCaml (Cameleon{,2}, zed ( >> https://github.com/diml/zed )...), so far none of them really gained >> traction. >> >> Volunteers work on whatever they fancy and I prefer not to interfere >> negatively -- though it's unclear in this case whether this is a >> personal side-project or an OCamlPro project. Moreover, all these >> efforts have led to interesting byproducts: various libraries from >> Cameleon (eg. ocaml-rss http://zoggy.github.com/ocamlrss/ ) and zed ( >> and in particular the nice toplevel utop https://github.com/diml/utop >> ). >> >> That said, I would still feel more enthusiastic about a project that >> can be used with other tools people use ( this is a good property of >> ocp-indent for example ), or directly improving OCaml support about >> tools that already have a user base : syntax highlighting libraries >> for various editors, etc. For example, Online Client-side >> Javascript-implemented In-the-cloud programming editors are all the >> rage now, they use a relatively small number of popular Javascript >> edition engines under the hood, is there work to do to make sure OCaml >> a first-class citizen there? >> >> On Mon, Feb 11, 2013 at 12:40 PM, Louis Gesbert >> wrote: >>> >>> OCaml is definitely lacking in this area; I am at the moment working >>> precisely >>> on solving this issue, with a dedicated Gtk editor that runs on Linux, >>> OSX and >>> Windows. It is pretty basic at the moment but already has code edition >>> and >>> working toplevel interaction (no compilation or project yet). >>> >>> Release is intended in a few months from now, with sufficient features >>> for >>> beginners and students. If successful, it will then be extended to hand= le >>> bigger projects (multi-file, build system integration, etc.). >>> >>> Until then, you may see the project's github page at >>> https://github.com/OCamlPro/ocp-edit-simple (name temporary) >>> >>> -- >>> Louis Gesbert, OCamlPro >>> >>> Le Monday 11 February 2013 01:49:41, Martin DeMello a =E9crit : >>>> >>>> I spent some time last night going through all the "what is a good >>>> (beginner's) ide for ocaml?" threads I could find online, and trying >>>> out the various options suggested. I ruled out the following: >>>> >>>> * vim, emacs and eclipse (not beginner-friendly; people who want to >>>> use them will know how to do it) >>>> * anything that did not provide a binary install for Windows and OSX, >>>> and wasn't a simple configure/make/make install on linux >>>> * anything that needed fiddling with config files just to install it >>>> * anything that needed the OCaml sources to be independently present >>>> and configured (!) >>>> * anything that was abandoned, or didn't seem to support OCaml 4 >>>> >>>> I was left with Geany and Komodo Edit as possibilities, and Geany won >>>> out by letting me open up a test.ml file and immediately being able to >>>> find and run the OCaml compiler. At least on Linux, it was a perfect >>>> beginner-friendly experience. >>>> >>>> So what do people think about ocaml.org officially promoting Geany as >>>> the answer to "I'm learning OCaml; what is a good IDE?"? I'd be happy >>>> to write up a page on it and contribute it. >>>> >>>> martin >>> >>> >>> -- >>> Caml-list mailing list. Subscription management and archives: >>> https://sympa.inria.fr/sympa/arc/caml-list >>> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners >>> Bug reports: http://caml.inria.fr/bin/caml-bugs >> >> >