From: jadamson@partners.org (Joel J. Adamson)
To: help-gnu-emacs@gnu.org
Subject: Re: is Emacs completely written in lisp
Date: Wed, 21 Nov 2007 09:58:29 -0500 [thread overview]
Message-ID: <878x4rbq7e.fsf@W0053328.mgh.harvard.edu> (raw)
In-Reply-To: e03190af-0977-4ae8-b342-5cb385a4aa73@b32g2000hsa.googlegroups.com
arunmib <arunmib@gmail.com> writes:
> On Nov 20, 11:42 pm, jadam...@partners.org (Joel J. Adamson) wrote:
>> arunmib <arun...@gmail.com> writes:
>> > On Nov 20, 5:04 pm, Marc Tfardy <m-t-o___CUT__IT...@web.de> wrote:
>> >> arunmib schrieb:
>>
>> >> > Hi all,
>> >> > Is Emacs completely written in Lisp or is written in combination
>> >> > with some other language. What I am trying to ask is the UI and other
>> >> > OS dependent stuff (if any, I don't know this thing) is also written
>> >> > in Lisp or some other language, like C is also used....
>>
>> >> C + ELisp
>>
>> >> Marc
>>
>> > Out of curiosity, can you tell me how? just a general overview or some
>> > place where I can read, how this is done?
>>
>> Stallman's article is a good place to hear about the why and how:http://www.gnu.org/gnu/rms-lisp.html. My understanding is that the
>> functions that really need to work fast and often, as well as
>> the Emacs Lisp interpreter are in C. Basically the backbone is C and
>> the Lisp interpreter (a full-on REPL) takes care of the rest. If you
>> `M-x apropos' and look up a function name, it will tell you if it's in C
>> or Lisp, along with a link to the file where you can find the function.
>>
>> - Show quoted text -
>
> Thanks a lot for the useful disucssion ppl.
> I will go through the links. But before that by reading these posts as
> a crude form of understanding, can I say that what ever I type in as
> command is parsed through the Lisp interpreter and the appropriate C
> or Lisp function is called. Is my understanding correct or ?
AFAIK, yes. But those Lisp commands are written in C --- this is the
angle that Marc et al. explained. For example, in the C I quoted from
the documentation, the function is a DEFUN.
Joel
--
Joel J. Adamson
Biostatistician
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA 02114
(617) 643-1432
(303) 880-3109
prev parent reply other threads:[~2007-11-21 14:58 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-20 11:30 is Emacs completely written in lisp arunmib
2007-11-20 12:04 ` Marc Tfardy
2007-11-20 16:58 ` arunmib
2007-11-20 17:14 ` B. T. Raven
2007-11-20 18:01 ` rustom
2007-11-20 18:47 ` The Lisp High (was: is Emacs completely written in lisp) Joel J. Adamson
2007-12-16 17:52 ` David Combs
2007-11-20 18:42 ` is Emacs completely written in lisp Joel J. Adamson
2007-11-21 4:00 ` arunmib
2007-11-21 14:58 ` Joel J. Adamson [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=878x4rbq7e.fsf@W0053328.mgh.harvard.edu \
--to=jadamson@partners.org \
--cc=help-gnu-emacs@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.
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).