Simple trampoline code
    Ellery Newcomer 
    ellery-newcomer at utulsa.edu
       
    Thu Jun 11 20:34:09 PDT 2009
    
    
  
BCS wrote:
> Hello Ellery,
> 
>> bearophile wrote:
>>
>>> I'm trying to convert to D2 the following (quite simplified up)
>>> Python code, that implements a trampoline to run tail-call functions
>>> with no stack overflow:
> [...]
>>
>> How DO you define the signature of a function that returns itself?
>>
> 
> Last I checked, you can't. Make it return a struct that has itself.
> 
> 
Thanks for reading my code
    
    
More information about the Digitalmars-d-learn
mailing list