unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Daniel Colascione <dancol@dancol.org>
Cc: Troels Nielsen <bn.troels@gmail.com>,
	Chris Gray <chrismgray@gmail.com>,
	emacs-devel@gnu.org
Subject: Re: tail-call elimination
Date: Tue, 11 Dec 2012 10:13:09 -0500	[thread overview]
Message-ID: <jwvwqwo8vy1.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <85ehiwzm7e.fsf@iznogoud.viz> (Wolfgang Jenkner's message of "Tue, 11 Dec 2012 15:30:23 +0100")

>>>> I have attached a patch that implements tail-call elimination for
>>>> a subset of emacs lisp.  This will be helpful in allowing coding
>>>> styles which emphasize tail recursion, such as is usual in languages
>>>> like Scheme.
>> If it speeds up execution, I think it can be worth the trouble.
> What about Troels Nielsen's implementation of the same feature?
> http://permalink.gmane.org/gmane.emacs.devel/153399

Very nice attempt as well, indeed.
Not sure why he hasn't followed up on this.


        Stefan



  reply	other threads:[~2012-12-11 15:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-11  2:57 tail-call elimination Chris Gray
2012-12-11  3:17 ` Stefan Monnier
2012-12-11  6:13 ` Daniel Colascione
2012-12-11  6:45   ` Chris Gray
2012-12-11 13:34   ` Stefan Monnier
2012-12-11 14:30     ` Wolfgang Jenkner
2012-12-11 15:13       ` Stefan Monnier [this message]
2012-12-31 18:16     ` Chris Gray
2013-01-07 18:28       ` Stefan Monnier

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=jwvwqwo8vy1.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=bn.troels@gmail.com \
    --cc=chrismgray@gmail.com \
    --cc=dancol@dancol.org \
    --cc=emacs-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.
Code repositories for project(s) associated with this public inbox

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

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).