RE: XS in Perl 6

2002-09-13 Thread Dan Sugalski
At 5:09 PM -0700 9/12/02, David Whipp wrote: >Aaron Sherman [mailto:[EMAIL PROTECTED]] wrote: >> I'm thinking XS thoughts because we're going to need a few external >> things at SOME point It would be so nice if Perl 6's XS >> was part of the language, rather than an external pre-processor.

RE: XS in Perl 6

2002-09-12 Thread Brent Dax
Aaron Sherman: # On Thu, 2002-09-12 at 21:10, Brent Dax wrote: # > Aaron Sherman: # > # I'm thinking XS thoughts # # > # Something like: # > # # > # module somesuch; # > # use External (language=>"C"); # > # sub chdir(string $path //= $ENV{HOME}) is # > # external(returns=>'int'); #

RE: XS in Perl 6

2002-09-12 Thread Aaron Sherman
On Thu, 2002-09-12 at 21:10, Brent Dax wrote: > Aaron Sherman: > # I'm thinking XS thoughts > # Something like: > # > # module somesuch; > # use External (language=>"C"); > # sub chdir(string $path //= $ENV{HOME}) is > # external(returns=>'int'); > > I prefer: > > module Sy

RE: XS in Perl 6

2002-09-12 Thread Aaron Sherman
On Thu, 2002-09-12 at 20:09, David Whipp wrote: > Aaron Sherman [mailto:[EMAIL PROTECTED]] wrote: > > I'm thinking XS thoughts because we're going to need a few external > > things at SOME point It would be so nice if Perl 6's XS > > was part of the language, rather than an external pre-proce

RE: XS in Perl 6

2002-09-12 Thread Brent Dax
Aaron Sherman: # I'm thinking XS thoughts because we're going to need a few # external things at SOME point It would be so nice if Perl # 6's XS was part of the language, rather than an external # pre-processor. # # Something like: # # module somesuch; # use External (language=>"C

RE: XS in Perl 6

2002-09-12 Thread David Whipp
Aaron Sherman [mailto:[EMAIL PROTECTED]] wrote: > I'm thinking XS thoughts because we're going to need a few external > things at SOME point It would be so nice if Perl 6's XS > was part of the language, rather than an external pre-processor. > [ some interesting stuff] > Thoughts? Its good

XS in Perl 6

2002-09-12 Thread Aaron Sherman
I'm thinking XS thoughts because we're going to need a few external things at SOME point It would be so nice if Perl 6's XS was part of the language, rather than an external pre-processor. Something like: module somesuch; use External (language=>"C"); sub chdir(string $path //= $