[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Re: Standardizing more key bindings?
From:
Stefan Monnier
Subject:
Re: Standardizing more key bindings?
Date:
2020年11月01日 08:51:54 -0500
User-agent:
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
> > The languages in question might not have the same kind of 'read', but
> > they usually have 'eval', and their REPLs do 'print'.
> 'read' and 'eval' are things that those lanuages don't have.
Many (most?) of those languages do have `eval`, and many have some form
of `read` available as well.
> Their command loops do have the ability to read and execute an
> expression, but that does not break down, in those languages, into
> a combination of 'read' and 'eval' in the Lisp sense.
So what? Their command loop does do "read, then eval, then print".
It's only natural that what "read", "eval", and "print" means for
language Foo is not necessarily the same as what it means for
language Bar.
Maybe you could argue that Lisp's "read" and "eval" are better, but that
doesn't mean that other languages's command loop aren't "REPLs".
Whether the "read", the "eval", and the "print" part are made available
to the language or only used by the interactive loop doesn't change the
code of the interactive loop, nor how the user interacts with it.
IOW, it's still a "REPL".
Stefan
- Re: Standardizing more key bindings? , Richard Stallman, 2020年11月01日
- References to "REPL" from past , Jean Louis, 2020年11月01日
- Re: Standardizing more key bindings?,
Stefan Monnier <=
- Re: Standardizing more key bindings? , Richard Stallman, 2020年11月02日
- Re: Standardizing more key bindings? , Yuri Khan, 2020年11月02日
- Re: Standardizing more key bindings? , tomas, 2020年11月02日
- Re: Standardizing more key bindings? , Dmitry Gutov, 2020年11月02日
- Re: Python REPL using standard library functions , Yuri Khan, 2020年11月02日
- Re: Python REPL using standard library functions , Dmitry Gutov, 2020年11月02日
Re: Standardizing more key bindings? , Dmitry Gutov, 2020年11月01日