[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: is Emacs completely written in lisp

From: Joel J. Adamson
Subject: Re: is Emacs completely written in lisp
Date: Wed, 21 Nov 2007 09:58:29 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

arunmib <address@hidden> writes:

> On Nov 20, 11:42 pm, address@hidden (Joel J. Adamson) wrote:
>> arunmib <address@hidden> writes:
>> > On Nov 20, 5:04 pm, Marc Tfardy <address@hidden> 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:  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 J. Adamson
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA  02114
(617) 643-1432
(303) 880-3109

reply via email to

[Prev in Thread] Current Thread [Next in Thread]