all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: rustom <rustompmody@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: is Emacs completely written in lisp
Date: Tue, 20 Nov 2007 10:01:14 -0800 (PST)	[thread overview]
Message-ID: <8a9ee940-06d8-4764-b36a-2ebbdc4df872@e23g2000prf.googlegroups.com> (raw)
In-Reply-To: 8Z6dnWjhbaaEi97anZ2dnUVZ_uLinZ2d@sysmatrix.net


> > Out of curiosity, can you tell me how? just a general overview or some
> > place where I can read, how this is done?
>
> Here is a readable summary:
>
> http://en.wikipedia.org/wiki/Elisp

Well I looked it up and did not find anything much on the C-lisp
interface. The lisp article: http://en.wikipedia.org/wiki/Lisp_programming_language
is a bit more detailed.

Anyhow let me try in ever so brief:
We start with some of the most basic editor-y things, say buffers and
windows -- which respectively manipulate and show text.  Now as a C
programmer you will think of this essentially as two types, struct
buffer {...}; and struct window {...}; and along with that an API to
do the things you want to to them.  Now a C++ programmer goes one step
further and binds the the API with the struct (and struts about
calling this an object :-) )
Stallman went one step further and asked What would it take to embed
this API+type fully embedded in its own dedicated language? And you
get elisp.

Well... That emphasised the e part of elisp more than the lisp.  For
the lisp part you should study some of the model scheme
implementations -- a bit different from lisp but better for study.

But before that you will also have to study lisp as a language.  The
bible today is SICP http://mitpress.mit.edu/sicp/
I myself prefer older books like Allens anatomy of lisp and
Henderson's Functional Programming but these are hard to get nowadays.

Last: Dont give up.  The high from lisp cannot be easily replicated.

  reply	other threads:[~2007-11-20 18:01 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 [this message]
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

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8a9ee940-06d8-4764-b36a-2ebbdc4df872@e23g2000prf.googlegroups.com \
    --to=rustompmody@gmail.com \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.