Re: RFC 334 (v1) Perl should allow specially attributed subs to be called as C functions

2000-10-10 Thread Chaim Frenkel
> "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes: DS> At 01:50 PM 10/10/00 -0400, Chaim Frenkel wrote: >> There is an intermediate method, have our own execution and data stack. >> Basically build a TIL interpreter. This might be intermediate in speed >> between raw machine code and the perl

Re: RFC 334 (v1) Perl should allow specially attributed subs to be called as C functions

2000-10-10 Thread Dan Sugalski
At 01:50 PM 10/10/00 -0400, Chaim Frenkel wrote: >There is an intermediate method, have our own execution and data stack. >Basically build a TIL interpreter. This might be intermediate in speed >between raw machine code and the perl vararg calls. Perl functions that are called from outside will h

Re: RFC 334 (v1) Perl should allow specially attributed subs to be called as C functions

2000-10-10 Thread Chaim Frenkel
There is an intermediate method, have our own execution and data stack. Basically build a TIL interpreter. This might be intermediate in speed between raw machine code and the perl vararg calls. If not intermediate in speed, I suspect it would involve cleaner looking code. All functions would lo

Re: RFC 334 (v1) Perl should allow specially attributed subs to be called as C functions

2000-10-09 Thread Dan Sugalski
At 08:50 PM 9/29/00 +0100, Nicholas Clark wrote: >On Fri, Sep 29, 2000 at 12:37:15PM -0400, Dan Sugalski wrote: > > At 04:13 PM 9/29/00 +0100, Nicholas Clark wrote: > > >Are you suggesting that the attributes use the same mapping system as > > >the XS (or son-of-XS (XS++)) typemaps in lib/ExtUtils

Re: RFC 334 (v1) Perl should allow specially attributed subs to be called as C functions

2000-09-29 Thread Dan Sugalski
At 04:13 PM 9/29/00 +0100, Nicholas Clark wrote: >Are you suggesting that the attributes use the same mapping system as >the XS (or son-of-XS (XS++)) typemaps in lib/ExtUtils/typemap? >If so, will there be the "terse" column in the typemap file to associate >"i" with "T_IV" ? Hadn't considered it

Re: RFC 334 (v1) Perl should allow specially attributed subs to be called as C functions

2000-09-29 Thread Nicholas Clark
On Thu, Sep 28, 2000 at 08:59:58PM -, Perl6 RFC Librarian wrote: > =head1 DESCRIPTION > > Any sub that has the appropriate attribute can be called from C (or some other > compiled language). Perl will automagically convert the input > parameters (which is what the attributes tells us) to thin

RFC 334 (v1) Perl should allow specially attributed subs to be called as C functions

2000-09-28 Thread Perl6 RFC Librarian
This and other RFCs are available on the web at http://dev.perl.org/rfc/ =head1 TITLE Perl should allow specially attributed subs to be called as C functions =head1 VERSION Maintainer: Dan Sugalski <[EMAIL PROTECTED]> Date: 28 Sep 2000 Mailing List: [EMAIL PROTECTED] Number: 334 Ve