unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Jean Louis <bugs@gnu.support>
To: Hongyi Zhao <hongyi.zhao@gmail.com>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>,
	Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: common lisp vs elisp.
Date: Sun, 20 Jun 2021 10:04:16 +0300	[thread overview]
Message-ID: <YM7ocO9IWaumHbXc@protected.localdomain> (raw)
In-Reply-To: <CAGP6PO+SrP0ePVfDQVNg6wcDYtVdzjrXoPM0u-8jijMWy8jq5g@mail.gmail.com>

* Hongyi Zhao <hongyi.zhao@gmail.com> [2021-06-20 07:45]:
> On Sun, Jun 20, 2021 at 12:04 PM Stefan Monnier via Users list for the
> GNU Emacs text editor <help-gnu-emacs@gnu.org> wrote:
> >
> > 2QdxY4RzWzUUiLuE@potatochowder.com [2021-06-19 20:42:39] wrote:
> > > If you want a free solution, the de facto environment is SBCL
> > > (https://sbcl.org)
> 
> I can't open <https://sbcl.org>, the working website is
> <http://www.sbcl.org/>, based on my tries.
> 
> > and SLIME under Emacs.
> 
> Basically, this means that I can replace ielm with slime
> (https://github.com/slime/slime) for more comprehensive and advanced
> functionality.

IELM is for Emacs Lisp evaluation, you don't replace it, you can just
stop using it. 

Regarding programming language choice maybe you should say what are
your subjects of programming? Maybe you can still handle all things
with Emacs Lisp. It is well integrated environment while any other
Lisp is external. If you for example need some friendly features like
menu, that is very easy in Emacs Lisp because the graphical user
interface is already there.

(easy-menu-define cf-people-menu  global-map "People menu"
  (list "People" 
	cf-people-menu-find-people
	cf-people-menu-list-of-people
	cf-people-menu-collaborate
	cf-people-menu-add-new-people
	cf-people-menu-edit-people
	cf-accounts-add-accounts
	cf-mailing-list-menu
	cf-central-files-menu
	rcd-db-database-maintenance-menu
	;;hyperscope-menu-module-for-other-menu
	))

Thus making a menu would be pretty simple in Emacs. Such menu works
both in console mode and GUI.

Making an equal menu in Common Lisp requires various external
libraries and decision on the GUI type, and it will most probably not
work in console, thus remote programs through SSH would not be
compatible with such. Or Common Lisp would require explicit console
work. 

Various completion functions will also not work, the function
`completing-read' you will need to implement yourself.

When working with Common Lisp I recommend using external software such
as `fzf' or `rofi' for easier menu or choice selection.

On the other hand, not only Common Lisp is available, there are many
various dialects of Lisp like Scheme and Dr. Racket

Description     : A full-spectrum language with DrRacket IDE. Formerly known as PLT Scheme.
URL             : https://racket-lang.org/

Racket will work on various operating systems. 

Or GNU Guile:

Description     : Portable, embeddable Scheme implementation written in C
URL             : https://www.gnu.org/software/guile/

Emacs offers support for many Lisp languages and dialects, many other
programming languages, you may evaluate it in real time, compile, or
run it.


-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/



      parent reply	other threads:[~2021-06-20  7:04 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-20  2:22 common lisp vs elisp Hongyi Zhao
2021-06-20  3:13 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-20  3:26   ` Hongyi Zhao
2021-06-20  3:42     ` 2QdxY4RzWzUUiLuE
2021-06-20  4:04       ` Stefan Monnier via Users list for the GNU Emacs text editor
2021-06-20  4:44         ` Hongyi Zhao
2021-06-20  6:21           ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-20  6:36           ` Joost Kremers
2021-06-20  6:57             ` Hongyi Zhao
2021-06-20  7:35               ` Jean Louis
2021-06-20 12:44               ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-27 15:08                 ` Andreas Eder
2021-06-27 15:36                   ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-28  6:46                     ` Jean Louis
2021-07-06  1:53                       ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-06 12:28                         ` Alexandre Garreau
2021-07-06 16:08                           ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-20  7:16             ` Jean Louis
2021-06-20  7:04           ` Jean Louis [this message]

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=YM7ocO9IWaumHbXc@protected.localdomain \
    --to=bugs@gnu.support \
    --cc=help-gnu-emacs@gnu.org \
    --cc=hongyi.zhao@gmail.com \
    --cc=monnier@iro.umontreal.ca \
    /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.
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).