Nicholas Clark <[EMAIL PROTECTED]> wrote:
> On Fri, Aug 15, 2003 at 04:22:36PM +0200, Juergen Boemmels wrote:

>> No STDERR should not let the init fail, but might set the handle to
>> PerlUndef. This is possible since the standard handles are PMCs
>   ^^^^

> We keep using that 4 letter word.

> How much s/Perl/Parrot/ig do we need before the entire core system is
> not using anything named "Perl"?

$ perl classes/pmc2c.pl --tree classes/perl*.pmc
PerlArray
    Array
PerlHash
PerlInt
    perlscalar
        scalar
PerlNum
    perlscalar
        scalar
perlscalar
    scalar
PerlString
    perlscalar
        scalar
PerlUndef
    PerlInt
        perlscalar
            scalar

The Perl* classes do implement the perlish way (like autoextending
array, or morphing to a different Perl scalar. These are basically our
only current working scalars (the lower case named base classes are
abstract classes)

When we have more classes like a Python hierarchy, we will see, how and
how far the functionality does match. If we find some, we can put in an
intermediate ParrotScalar.

But when it comes to PerlUndef (like above) you are right. Its used in
Array too for example.

> Nicholas Clark

leo

Reply via email to