caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: David.Bulone@ulp.u-strasbg.fr
To: caml-list@inria.fr
Cc: tajine@dpt-info.u-strasbg.fr, violard@icps.u-strasbg.fr
Subject: Récursivité terminale / tail-recursivity
Date: Fri, 27 Mar 2009 11:25:57 +0100	[thread overview]
Message-ID: <20090327112557.fgh38vjcmc8g80og@webmail.u-strasbg.fr> (raw)

Bonjour,

    Y'a-t-il dans la littérature des résultats sur la transformation  
automatique de définitions récursives non terminales, en définitions  
de fonctions récursives terminales avec pile de taille bornée ?
    Sachant que le problème général est certainement indécidable,  
y'a-t-il des classes de fonctions pour lesquelles on sait faire cette  
tranformation ?
(par exemple, cette transformation est possible avec fibonacci et une  
pile de taille 2).
    Je travaille actuellement sur ce thème dans le cadre d'un TER.

Merci pour vos réponses.

----------------------------------------------------------------------------------
Hello,

    Is there in the literature some results about the automatic  
transformation of non tail-recursive functions definitions, into  
tail-recursive ones using a bounding stack ?
    The general problem is probably undecidable. But maybe there is  
some family of functions for which we know how to transform.
(for example, the transformation is possible for fibonacci sequence  
and a stack of size 2).
    I'm currently Master student (TER) working on that.

Thanks for yours responses.



                 reply	other threads:[~2009-03-27 10:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20090327112557.fgh38vjcmc8g80og@webmail.u-strasbg.fr \
    --to=david.bulone@ulp.u-strasbg.fr \
    --cc=caml-list@inria.fr \
    --cc=tajine@dpt-info.u-strasbg.fr \
    --cc=violard@icps.u-strasbg.fr \
    /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 NNTP newsgroup(s).