From: Neil Jerram <neil@ossau.uklinux.net>
To: Clinton Ebadi <clinton@unknownlamer.org>
Cc: Daniel Kraft <d@domob.eu>, guile-devel@gnu.org
Subject: Re: GSoC: Emacs Lisp support for GNU Guile
Date: Tue, 31 Mar 2009 23:34:48 +0100 [thread overview]
Message-ID: <87r60dnwxj.fsf@arudy.ossau.uklinux.net> (raw)
In-Reply-To: <87skktqvwg.fsf@unknownlamer.org> (Clinton Ebadi's message of "Tue\, 31 Mar 2009 16\:28\:47 -0400")
This email is going to be about Guile details that the Emacs crowd
probably won't be interested in, so I've removed emacs-devel.
Clinton Ebadi <clinton@unknownlamer.org> writes:
> There is already a working elisp->scheme translator for the interpeter
> in lang/elisp. I've poked about in it and it would be fairly
> straightfoward to port it to the VM by retargetting it to GHIL and
> replacing the @fop and @bind operators in the interpeter with a bit of
> GHIL implementing the same behavior.
>
> As a general implemention order I suggest:
>
> - Replace @fop and @bind with a GHIL fragment implementing the same
> behavior
> - Integrate the elisp->scheme translator into the VM compiler framework
> - Retarget the elisp translator from Scheme to GHIL
Agreed with all that. Also I think there is still some support in
Guile's reader code for Elisp stuff such as [...] vectors. That
should probably be removed and replaced by a proper Elisp parser
written in Scheme.
> If there is time left (the above tasks should take maybe a month,
> perhaps more) then a few more tasks would be useful as far as cleaning
> up the implementation of Guile:
>
> - Remove handling of NIL in Scheme. This special casing is, in my
> opinion, distressingly unclean. This would require adding a new
> ELISP-IF form that accepts #f/nil as false values
I'm not clear what you mean here. Can you expand on this?
> - Reimplement the basic elisp list operators in elisp/ghil rather than
> using the existing Scheme implementations
Sounds right, but do you have a specific reason?
> - [Potentially] Remove value/function slots from Guile's symbol type
> and implement the Lisp-2ness of elisp in another way
That sounds too dull for GSoC! More a matter of API continuity than
of anything technically interesting. Or am I missing something?
> - [Assuming the above is done; if not ((fref SYMBOL) ...) works
> already] Implement a convenient way to call elisp functions from
> Scheme. Something like (funcall SYMBOL ...)
I thought that was already possible... yes, using elisp-function,
use-elisp-file or use-elisp-library.
Regards,
Neil
next prev parent reply other threads:[~2009-03-31 22:34 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-31 19:44 GSoC: Emacs Lisp support for GNU Guile Daniel Kraft
2009-03-31 20:28 ` Clinton Ebadi
2009-03-31 22:34 ` Neil Jerram [this message]
2009-03-31 23:10 ` Andy Wingo
2009-04-04 22:00 ` Richard M Stallman
2009-03-31 22:23 ` Neil Jerram
2009-03-31 23:15 ` Andy Wingo
2009-04-01 2:30 ` Mike Gran
2009-03-31 23:05 ` Andy Wingo
2009-03-31 23:41 ` Neil Jerram
2009-04-01 15:36 ` Daniel Kraft
2009-04-01 13:31 ` Stefan Monnier
2009-04-03 17:30 ` Andy Wingo
2009-04-03 20:31 ` Chong Yidong
2009-04-03 23:50 ` Andy Wingo
2009-04-06 23:26 ` Samuel Bronson
2009-04-07 0:52 ` Stefan Monnier
2009-04-05 10:11 ` Ludovic Courtès
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/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r60dnwxj.fsf@arudy.ossau.uklinux.net \
--to=neil@ossau.uklinux.net \
--cc=clinton@unknownlamer.org \
--cc=d@domob.eu \
--cc=guile-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.
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).