develooper Front page | perl.perl6.language | Postings from August 2005

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

Thread Previous | Thread Next
From:
David Storrs
Date:
August 25, 2005 06:45
Subject:
Re: Perl 6 code - a possible compile, link, run cycle
Message ID:
A45AC16D-4F6A-409F-887A-3056FB84CFD6@dstorrs.com

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  
> <nothingmuch@woobling.org> 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 potentional to change the way the compiler
> parses the code.  So use needs to be regarded.

Conceptually, Yuval's mechanism could still work.  It's just that,  
when you go back and compile the 'use' lines, they may invalidate a  
compilation unit you thought you were finished with.

--Dks

Thread Previous | Thread Next


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