unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Vasilij Schneidermann <mail@vasilij.de>
To: Thibaut Verron <thibaut.verron@gmail.com>
Cc: Richard Stallman <rms@gnu.org>, emacs-devel <emacs-devel@gnu.org>
Subject: Re: Standardizing more key bindings?
Date: Tue, 29 Sep 2020 12:36:07 +0200	[thread overview]
Message-ID: <20200929103607.GA181871@odonien.localdomain> (raw)
In-Reply-To: <CAFsi02TExFWfgUgzVx378+1K1ugrC0S=s2_4uNYPmiuKbLzwcA@mail.gmail.com>

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

> I don't understand. Don't all interactive interpreters read input,
> evaluate it, then print the result?

Far from it.  Lua before version 5.3 used to only read and evaluate (you
had to add printing code for anything to be printed):

    $ lua5.2
    Lua 5.2.4  Copyright (C) 1994-2015 Lua.org, PUC-Rio
    > 1 + 1
    stdin:1: unexpected symbol near '1'
    > print(1 + 1)
    2
    > 
    $ lua5.3 
    Lua 5.3.5  Copyright (C) 1994-2018 Lua.org, PUC-Rio
    > 1 + 1
    2
    > print(1 + 1)
    2
    > 

A more serious problem is the conflation of reading and evaluation, Lisp
is unique in giving you easy access to the parse tree and representing
it using the same plain old data structures as all other Lisp code.

Even when it comes to the print part there are still languages limiting
how an arbitrary data structure is printed, if it's possible at all.
Some place limitations on whitespace control (for example mandatory
newlines), others do not allow you to print the object in a form that
can be read in again (for example by failing to print with escape
characters).

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2020-09-29 10:36 UTC|newest]

Thread overview: 86+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-27  9:31 Standardizing more key bindings? Thibaut Verron
2020-09-27 15:57 ` Stefan Monnier
2020-09-28  3:44 ` Richard Stallman
2020-09-28  4:38   ` Thibaut Verron
2020-09-28  7:39     ` Thibaut Verron
2020-09-29  3:30       ` Richard Stallman
2020-09-29  5:07         ` Thibaut Verron
2020-09-29 10:36           ` Vasilij Schneidermann [this message]
2020-10-01  4:09           ` Richard Stallman
2020-10-01  5:20             ` Thibaut Verron
2020-09-29 21:56         ` Dmitry Gutov
2020-11-01  4:27           ` Richard Stallman
2020-11-01  6:56             ` References to "REPL" from past Jean Louis
2020-11-01 13:51             ` Standardizing more key bindings? Stefan Monnier
2020-11-02  5:41               ` Richard Stallman
2020-11-02  6:14                 ` Yuri Khan
2020-11-02  8:08                   ` tomas
2020-11-02  9:50                   ` Dmitry Gutov
2020-11-02 11:40                     ` Python REPL using standard library functions Yuri Khan
2020-11-02 22:46                       ` Dmitry Gutov
2020-11-01 21:35             ` Standardizing more key bindings? Dmitry Gutov
2020-11-01 22:27               ` Drew Adams
2020-11-02  5:46               ` Richard Stallman
2020-09-29 21:58 ` Dmitry Gutov
2020-09-30  6:08   ` Thibaut Verron
2020-09-30 16:58     ` Opening Up More Keymaps " T.V Raman
2020-09-30 17:29       ` Thibaut Verron
2020-09-30 18:12         ` Robert Pluim
2020-09-30 18:16       ` Stefan Monnier
2020-09-30 18:35         ` T.V Raman
2020-09-30 18:41           ` Robert Pluim
2020-09-30 19:54           ` Stefan Monnier
2020-09-30 19:58             ` T.V Raman
2020-09-30 20:00               ` Noam Postavsky
2020-09-30 20:03                 ` T.V Raman
2020-09-30 21:00                   ` chad
2020-09-30 21:34                     ` T.V Raman
2020-09-30 20:45               ` Stefan Monnier
2020-09-30 20:51                 ` T.V Raman
2020-09-30 21:13                 ` Gregory Heytings via Emacs development discussions.
2020-09-30 21:19                   ` Stefan Monnier
2020-09-30 21:37                     ` T.V Raman
2020-09-30 21:44                       ` Stefan Monnier
2020-09-30 23:07                         ` T.V Raman
2020-10-01  2:35                 ` Eli Zaretskii
2020-10-01  3:27                   ` Stefan Monnier
2020-10-01 12:38                   ` Ergus
2020-10-01 14:17                     ` Stefan Kangas
2020-10-01 14:45                       ` Caio Henrique
2020-10-02  3:54                       ` Richard Stallman
2020-10-02 10:43                         ` Ergus
2020-10-04 19:34                           ` Juri Linkov
2020-10-02  3:49                   ` Richard Stallman
2020-10-02  6:56                     ` Eli Zaretskii
2020-10-02 11:34                       ` Ergus
2020-10-02 12:26                         ` Eli Zaretskii
2020-10-04  3:38                       ` Richard Stallman
2020-10-04 10:38                         ` Thibaut Verron
2020-10-04 13:46                           ` Alfred M. Szmidt
2020-10-04 16:24                             ` Thibaut Verron
2020-10-04 17:00                               ` Alfred M. Szmidt
2020-10-04 17:32                                 ` Thibaut Verron
2020-10-04 17:46                                   ` Alfred M. Szmidt
2020-10-05  3:11                                     ` Richard Stallman
2020-10-06  8:59                                       ` Lars Brinkhoff
2020-10-04 17:46                               ` Alfred M. Szmidt
2020-10-05  3:13                           ` Richard Stallman
2020-10-04 14:10                       ` Howard Melman
2020-10-02  3:45     ` Richard Stallman
2020-10-02  6:26       ` Thibaut Verron
2020-10-04  3:39         ` Richard Stallman
2020-10-04  3:39         ` Richard Stallman
2020-10-02  6:52       ` Eli Zaretskii
2020-10-02 14:00         ` Stefan Monnier
2020-10-04  3:38         ` Richard Stallman
2020-10-04  7:16           ` Eli Zaretskii
2020-10-05  3:14             ` Richard Stallman
2020-10-02 13:56       ` Stefan Monnier
2020-10-03  2:57         ` Richard Stallman
2020-10-06 12:53 ` Nikolay Kudryavtsev
2020-10-06 13:27   ` Stefan Monnier
2020-10-06 14:24     ` Nikolay Kudryavtsev
2020-10-06 14:43       ` Stefan Monnier
2020-10-08  9:40         ` Nikolay Kudryavtsev
2020-10-07  4:19   ` Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2020-09-27 21:38 yarnton--- via Emacs development discussions.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200929103607.GA181871@odonien.localdomain \
    --to=mail@vasilij.de \
    --cc=emacs-devel@gnu.org \
    --cc=rms@gnu.org \
    --cc=thibaut.verron@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).