Re: Perl 6 code - a possible compile, link, run cycle

2005-08-26 Thread David Formosa \(aka ? the Platypus\)
On Thu, 25 Aug 2005 16:25:51 +0300, Yuval Kogman <[EMAIL PROTECTED]> wrote: [...] > On Thu, Aug 25, 2005 at 11:16:56 -, David Formosa (aka ? the Platypus) = > wrote: [...] >> use has the potentional to change the way the compiler >> parses the code. So use needs to be regarded. > > Hmm...

Re: Perl 6 code - a possible compile, link, run cycle

2005-08-26 Thread Adam Kennedy
Ingo Blechschmidt wrote: Hi, Yuval Kogman wrote: On Thu, Aug 25, 2005 at 15:42:28 +0200, Ingo Blechschmidt wrote: This section will contain all information needed: * User-defined operators * Other symbols exported by "is export" * Exported macros Okay, this raises a distinction: Compile t

Re: Perl 6 code - a possible compile, link, run cycle

2005-08-25 Thread Luke Palmer
On 8/25/05, Yuval Kogman <[EMAIL PROTECTED]> wrote: > On Thu, Aug 25, 2005 at 11:16:56 -, David Formosa (aka ? the Platypus) > wrote: > > On Wed, 24 Aug 2005 16:13:03 +0300, Yuval Kogman <[EMAIL PROTECTED]> wrote: > > > > [...] > > > > > perl6 creates a new instance of the perl compiler (presu

Re: Perl 6 code - a possible compile, link, run cycle

2005-08-25 Thread Ingo Blechschmidt
Hi, Yuval Kogman wrote: > On Thu, Aug 25, 2005 at 15:42:28 +0200, Ingo Blechschmidt wrote: >> This section will contain all information needed: >> * User-defined operators >> * Other symbols exported by "is export" >> * Exported macros > > Okay, this raises a distinction: > > Compile time export

Re: Perl 6 code - a possible compile, link, run cycle

2005-08-25 Thread Yuval Kogman
On Thu, Aug 25, 2005 at 15:42:28 +0200, Ingo Blechschmidt wrote: > This section will contain all information needed: > * User-defined operators > * Other symbols exported by "is export" > * Exported macros Okay, this raises a distinction: Compile time exports Runtime exports Modu

Re: Perl 6 code - a possible compile, link, run cycle

2005-08-25 Thread Ingo Blechschmidt
Hi, Yuval Kogman wrote: > On Thu, Aug 25, 2005 at 11:16:56 -, David Formosa (aka ? the > Platypus) wrote: >> On Wed, 24 Aug 2005 16:13:03 +0300, Yuval Kogman >> <[EMAIL PROTECTED]> wrote: >> > perl6 creates a new instance of the perl compiler (presumably an >> > object). The compiler will only

Re: Perl 6 code - a possible compile, link, run cycle

2005-08-25 Thread David Storrs
On Aug 25, 2005, at 7:16 AM, David Formosa (aka ? the Platypus) wrote: On Wed, 24 Aug 2005 16:13:03 +0300, Yuval Kogman <[EMAIL PROTECTED]> wrote: [...] perl6 creates a new instance of the perl compiler (presumably an object). The compiler will only compile the actual file 'foo.pl', and d

Re: Perl 6 code - a possible compile, link, run cycle

2005-08-25 Thread Yuval Kogman
On Thu, Aug 25, 2005 at 11:16:56 -, David Formosa (aka ? the Platypus) wrote: > On Wed, 24 Aug 2005 16:13:03 +0300, Yuval Kogman <[EMAIL PROTECTED]> wrote: > > [...] > > > perl6 creates a new instance of the perl compiler (presumably an > > object). The compiler will only compile the actual

Re: Perl 6 code - a possible compile, link, run cycle

2005-08-25 Thread David Formosa \(aka ? the Platypus\)
On Wed, 24 Aug 2005 16:13:03 +0300, Yuval Kogman <[EMAIL PROTECTED]> wrote: [...] > perl6 creates a new instance of the perl compiler (presumably an > object). The compiler will only compile the actual file 'foo.pl', > and disregard any 'require', 'use', or 'eval' statements. use has the potenti

Perl 6 code - a possible compile, link, run cycle

2005-08-24 Thread Yuval Kogman
WRT to PIL and compilation and all that, I think it's time to think about how the linker might look. As I see it the compilation chain with the user typing this in the prompt: perl6 foo.pl perl6 is a compiled perl 6 script that takes an input file, and compiles it, and then passes the co