develooper Front page | perl.perl6.internals | Postings from April 2005

Re: [Fwd: [perl6.internals] Re: [PROPOSAL] calling convention abstraction]

From:
Leopold Toetsch
Date:
April 24, 2005 01:27
Subject:
Re: [Fwd: [perl6.internals] Re: [PROPOSAL] calling convention abstraction]
Message ID:
426B5794.9010101@toetsch.at
[ CC'ed to list again ]

Roger Hale wrote:
> Leo,

> I find myself on the horns of a variant of Warnock's dilemma here:

Sorry about that.

> Having done my best to clarify why I think the return context cannot 
> helpfully be attached to either @IN_ARGS nor @OUT_ARGS, the thread has 
> no further response from you. 

The subject of the thread was "calling convention abstraction". My 
proposal was about one possible way to go, and I'd like to thank you for 
the input. But there is much more then the one discussed issue.

I'd like to have HLL folks create a workable scheme for abstract and 
extendible calling conventions that take all the various HLL-specific 
extensions (*args, **kw, default values, Perl context, lisp variable 
argument amount, tail calls...) into account. If each HLL does a 
function or method call in a different way, we can forget any 
interoperbility.

The current scheme is too limit and worse, as defined in terms of PASM, 
not changable at all. This is a serious drawback for future changes and 
optimization of the Parrot VM.

leo




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About