At 08:22 AM 8/3/00 -0700, Benjamin Stuhl wrote:
>--- Dan Sugalski <[EMAIL PROTECTED]> wrote:
> > actual work. The
> > dispatch routine has a function signature like so:
> >
> > int status = dispatch(void *native_obj, sv
> > *perl_scalar, char *method_called,
> > int *num_args_in, perl_arg_stack
> > *arg_stack,
> > int *num_args_out, perl_arg_stack
> > *return_values);
>
>One thing: remember, there is a lot of talk about having
>perl6 use Unicode internally, which means that things like
>method names should be wchar_t * (or whatever).
Good point. I shall have to think Unicode more. (UTF-32, anyone? :) Though
it does present a problem for those languages that don't do Unicode and do
char* instead.
Bleah.
>Other than that, I really like this proposal. Combined with
>a slightly more intelligent xsubpp (or more presupplied
>typemaps) this could make XS much frendlier. (Maybe it
>should be called ++XS in perl6?).
I'd love to wedge in language-specific bits into whatever MakeMaker
becomes. Have a target that knows how to build Fortran, C++, COBOL, Scheme,
or Python extensions to perl.
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk