From: Philip Kaludercic <philipk@posteo.net>
To: Augusto Stoffel <arstoffel@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: ELPA submission: drepl (REPL protocol)
Date: Wed, 01 Nov 2023 18:38:18 +0000 [thread overview]
Message-ID: <87edh9z5d1.fsf@posteo.net> (raw)
In-Reply-To: <87sf5p9vkm.fsf@gmail.com> (Augusto Stoffel's message of "Wed, 01 Nov 2023 19:28:57 +0100")
Augusto Stoffel <arstoffel@gmail.com> writes:
> On Tue, 31 Oct 2023 at 09:08, Philip Kaludercic wrote:
>
>> The idea seems interesting, I'll have to try it out at some point
>> (though I don't really use Python or Lua much, so I hope you plan to add
>> more languages in the future).
> Sure, let me know if you have any ideas. A good candidate, as I
> mention in the readme, would be a language that has a good embeddable
> REPL library that you hack into (as opposed to a program where the
> REP-loop is more or less hardcoded).
What does a REPL library need, that most languages couldn't implement
themselves if they have an eval function?
>> (cl-defgeneric drepl--command (repl)
>> "The command to start the REPL interpreter as a list of strings."
>> (ignore repl)
>> - (error "This needs an implementation"))
>> + (error "This needs an implementation")) ;Mention what "this" is
>
> _This_ is the method. This is one of the two things that cannot have a
> default implementation and should be implemented by every subclass :-).
> Is the message confusing?
I am just imagining an error message appearing in the mini buffer saying
"This needs an implementation", without an indication where the error is
coming from.
next prev parent reply other threads:[~2023-11-01 18:38 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-30 7:18 ELPA submission: drepl (REPL protocol) Augusto Stoffel
2023-10-30 22:33 ` Stefan Kangas
2023-10-31 8:11 ` Augusto Stoffel
2023-11-01 20:18 ` Stefan Kangas
2023-10-31 9:08 ` Philip Kaludercic
2023-11-01 18:28 ` Augusto Stoffel
2023-11-01 18:38 ` Philip Kaludercic [this message]
2023-11-01 18:56 ` Augusto Stoffel
2023-11-02 14:26 ` João Távora
2023-11-02 16:08 ` Augusto Stoffel
2023-11-02 16:16 ` João Távora
2023-11-01 18:36 ` Augusto Stoffel
2023-11-07 8:20 ` Philip Kaludercic
2023-11-07 16:52 ` Augusto Stoffel
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=87edh9z5d1.fsf@posteo.net \
--to=philipk@posteo.net \
--cc=arstoffel@gmail.com \
--cc=emacs-devel@gnu.org \
/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).