|
Re: pmc_type: msg#00572lang.perl.perl6.internals
On Wed, Oct 27, 2004 at 06:24:59PM +0200, Leopold Toetsch wrote: > Stéphane Payrard <stef@xxxxxxxxxxx> wrote: > > On Wed, Oct 27, 2004 at 12:19:22PM +0200, Leopold Toetsch wrote: > > >> Having a type enum for these abstract types would imply to install a > >> vtable, filled with methods that catch errors. > > > I never proposed the installation of vtables for these types. > > Well, then a type enum for abstract types is probably not useful anyway. > > > there should be an integer range reserved for these abstract types. > > Being outside the range for regular pmc type they would not > > need any vtable. > > And then? That would allow to implement typechecking in imcc. .sym Scalar a a = new .PerlInt # ok. Perlint is derived from Scalar -- stef > > leo > |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: register allocation questions: 00572, Dan Sugalski |
|---|---|
| Next by Date: | Re: extend.c:Parrot_call: 00572, Jeff Horwitz |
| Previous by Thread: | Re: pmc_typei: 00572, Leopold Toetsch |
| Next by Thread: | Re: pmc_type: 00572, Luke Palmer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |