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 AC1727EEF8 for ; Mon, 10 Aug 2015 17:01:43 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of dhaivatpandya@gmail.com) identity=pra; client-ip=209.85.218.49; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="dhaivatpandya@gmail.com"; x-sender="dhaivatpandya@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of dhaivatpandya@gmail.com designates 209.85.218.49 as permitted sender) identity=mailfrom; client-ip=209.85.218.49; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="dhaivatpandya@gmail.com"; x-sender="dhaivatpandya@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-oi0-f49.google.com) identity=helo; client-ip=209.85.218.49; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="dhaivatpandya@gmail.com"; x-sender="postmaster@mail-oi0-f49.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0CyBAA7vMhVlDHaVdFdgzo1aQaDHql8j22CN4V5AoEoB0wBAQEBAQESAQEBAQcLCwkfMIQkAQEEEhEdARsSDAMMBgULDQ0dAgIhAQERAQUBChIZCAoQh3YBAxINq0iBLj4xi0CBbIJ5ixQKGScDCleEYQEBAQcBAQEBARcBBQ6LQ4JPgjYLgmmBQwWFaQyHVIdChQKFdYFsgUlGkDuDTYIaEiOBFxEGhCogM4JMAQEB X-IPAS-Result: A0CyBAA7vMhVlDHaVdFdgzo1aQaDHql8j22CN4V5AoEoB0wBAQEBAQESAQEBAQcLCwkfMIQkAQEEEhEdARsSDAMMBgULDQ0dAgIhAQERAQUBChIZCAoQh3YBAxINq0iBLj4xi0CBbIJ5ixQKGScDCleEYQEBAQcBAQEBARcBBQ6LQ4JPgjYLgmmBQwWFaQyHVIdChQKFdYFsgUlGkDuDTYIaEiOBFxEGhCogM4JMAQEB X-IronPort-AV: E=Sophos;i="5.15,646,1432591200"; d="scan'208";a="142441753" Received: from mail-oi0-f49.google.com ([209.85.218.49]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 10 Aug 2015 17:01:42 +0200 Received: by oip136 with SMTP id 136so87120188oip.1 for ; Mon, 10 Aug 2015 08:01:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=A7REvx0rPsrY/L2y8fVX5aYnOf1zN3n29QdMAWiI7Jo=; b=aJ5v2DmXhUM49Q9+xy8C3JPWteTtYY3utQSrPja/si9dXZ6DYfGkK8+4GMKRw+fGZt SpSe+qfQB55+1Jz8XzfnrQsanswjes3Sf4iv2v6hd/izHPKsW3m5liJX/LpGg5EsxzxI 8nWoc5FYDTQZUHSj4hxuw409aRYVS2gvHYrKFMjGd2EyxCjsZuZCJF91nVs6ZRLpkvB8 WuocFleqLJwQIhQYiQEeyY4POfaeVyrUa2gIz86MvRXrE5q2y3631MZeEuvnpOySZX/1 SGwKB+vgo5SYXuzGJ3E+liNAFJ3IyTereJbyPSc2jdbU4iDmJJjuKON4IXOSlHawJWhz CWQw== X-Received: by 10.202.78.83 with SMTP id c80mr19178832oib.76.1439218900995; Mon, 10 Aug 2015 08:01:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.193.213 with HTTP; Mon, 10 Aug 2015 08:01:21 -0700 (PDT) In-Reply-To: <20150810122704.Horde.g5szeLPSqlBSfVGXiKyZSw1@webmail.in-berlin.de> References: <20150810122704.Horde.g5szeLPSqlBSfVGXiKyZSw1@webmail.in-berlin.de> From: Dhaivat Pandya Date: Mon, 10 Aug 2015 10:01:21 -0500 Message-ID: To: caml-list@inria.fr Content-Type: multipart/alternative; boundary=001a11c1781e593729051cf64329 Subject: Re: [Caml-list] Readline Support for REPL --001a11c1781e593729051cf64329 Content-Type: text/plain; charset=UTF-8 Even though the utop projects provides readline features, wouldn't it make sense to have basic feature support on the default repl for the language? On Mon, Aug 10, 2015 at 5:27 AM, Oliver Bandel wrote: > ...there also is "ledit" as support for the toplevel-usage. > > Maybe utop is what I could try also... > > > Zitat von Gabriel Scherer (Mon, 10 Aug 2015 > 11:24:15 +0200) > > Note that utop already provides these features and much more: >> https://github.com/diml/utop >> >> I'm not sure improving the toplevel is a good investment of your efforts, >> given that there exists such a nice alternative, and that the switching >> costs are basically zero for toplevels. >> >> On Mon, Aug 10, 2015 at 1:37 AM, Dhaivat Pandya >> wrote: >> >> Hi, >>> >>> I was wondering if readline support for the OCaml toplevel would be >>> appreciated. I understand that running the repl with "rlwrap" solves a >>> similar problem but if we were to implement readline support, we may >>> later >>> on build on it with tab-completion, etc. >>> >>> If it is needed, I would be glad to implement support. >>> >>> - >>> Dhaivat >>> >>> >> -- >> 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 >> > > > > > -- > 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 > --001a11c1781e593729051cf64329 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Even though the utop projects provides readline features, = wouldn't it make sense to have basic feature support on the default rep= l for the language?

On Mon, Aug 10, 2015 at 5:27 AM, Oliver Bandel &l= t;oliver@fir= st.in-berlin.de> wrote:
...= there also is "ledit" as support for the toplevel-usage.

Maybe utop is what I could try also...


Zitat von Gabriel Scherer <gabriel.scherer@gmail.com> (Mon, 10 Aug 2015 11:24= :15 +0200)

Note that utop already provides these features and much more:
=C2=A0 https://github.com/diml/utop

I'm not sure improving the toplevel is a good investment of your effort= s,
given that there exists such a nice alternative, and that the switching
costs are basically zero for toplevels.

On Mon, Aug 10, 2015 at 1:37 AM, Dhaivat Pandya <dhaivatpandya@gmail.com>
wrote:

Hi,

I was wondering if readline support for the OCaml toplevel would be
appreciated. I understand that running the repl with "rlwrap" sol= ves a
similar problem but if we were to implement readline support, we may later<= br> on build on it with tab-completion, etc.

If it is needed, I would be glad to implement support.

-
Dhaivat


--
Caml-list mailing list.=C2=A0 Subscription management and archives:
https://sympa.inria.fr/sympa/arc/caml-list
Beginner's list: http://groups.yahoo.com/group/ocam= l_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs




--
Caml-list mailing list.=C2=A0 Subscription management and archives:
https://sympa.inria.fr/sympa/arc/caml-list
Beginner's list: http://groups.yahoo.com/group/ocam= l_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

--001a11c1781e593729051cf64329--