On Wed, Oct 26, 2005 at 11:00:55 -0700, Larry Wall wrote:
> Yes, Perl 5 is conceptually a 3-pass compiler, but the passes have to
> be interwoven to do the "literate compilation" thing that Perl demands.

But it's recursively interwoven.... If it was nonrecursive things
would be much uglier ;-)

IMHO, to ammend to stevan's mail, one fundamental step is linking.
This happens in the middle of the type checking phase - some type
info is extracted from a single unit, and other type info is
extracted from already compiled units that are being linked.

In Perl 5 linkage was completely ad-hoc, and was imperative, and
side effect reliant, as opposed to declarative:

        *{$sym} = $subref;

The reason this part is fundamental is that it implies the
separation between the bits of code.

-- 
 ()  Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418  perl hacker &
 /\  kung foo master: /methinks long and hard, and runs away: neeyah!!!

Attachment: pgpmCOR5vHTHf.pgp
Description: PGP signature

Reply via email to