only in the cases already handled by recur.

jvm's goto instruction only works within method bodies

On Wed, Aug 18, 2010 at 6:24 PM, Tim Daly <d...@axiom-developer.org> wrote:
> Write a compiler routine to detect tail recursion.
>
> It is my (limited) understanding that Java can perform
> tail recursion elimination but only under limited
> conditions.
>
> Is there a way to detect tail recursion in Clojure and
> dynamically rewrite the code to do real recursion rather
> than using recur? Is your solution general enough?
>
> Mark Derricutt wrote:
>>
>> Or a native dalvik compiler!
>>
>> --
>> Pull me down under...
>>
>>
>>
>> On Thu, Aug 19, 2010 at 10:37 AM, Jules <julesjac...@gmail.com
>> <mailto:julesjac...@gmail.com>> wrote:
>>
>>    Or a Clojure to Javascript compiler. So many interesting projects!
>>
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clojure@googlegroups.com
>> Note that posts from new members are moderated - please be patient with
>> your first post.
>> To unsubscribe from this group, send email to
>> clojure+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with your
> first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en



-- 
And what is good, Phaedrus,
And what is not good—
Need we ask anyone to tell us these things?

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to