Re: [perl #40443] Separate vtable functions from methods (using :vtable)

2006-11-01 Thread Nicholas Clark
On Tue, Oct 31, 2006 at 10:43:11PM -0800, Allison Randal wrote: Leopold Toetsch wrote: We have basically the problem that classes are only constructed at runtime, which has 2 negative impacts: associating the vtable info with the class needs some helper storage like the props and

Re: [perl #40443] Separate vtable functions from methods (using :vtable)

2006-11-01 Thread Leopold Toetsch
Am Mittwoch, 1. November 2006 07:43 schrieb Allison Randal: We may add compile-time construction of classes at some point as an optimization, but we'll never eliminate runtime construction. Of course not. I never said that. To get around that the following came to my mind: - we create a

Re: [perl #40443] Separate vtable functions from methods (using :vtable)

2006-11-01 Thread Leopold Toetsch
Am Mittwoch, 1. November 2006 10:57 schrieb Nicholas Clark: When serialising data structures, is parrot going to need to serialise any anonymous or otherwise run time generated classes? Yep, and it does so already. If so, isn't this mechanism going to be capable of achieving compile time

[perl #40637] [TODO] Tcl - Throw exception about invalid boolean type in src/pmc/tclstring.pmc

2006-11-01 Thread Paul Cochrane
# New Ticket Created by Paul Cochrane # Please include the string: [perl #40637] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40637 Need to throw an exception about invalid boolean type in

[perl #40638] [TODO] Tcl - work out why hash implementation insufficient in src/pmc/tclarray.pmc

2006-11-01 Thread Paul Cochrane
# New Ticket Created by Paul Cochrane # Please include the string: [perl #40638] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40638 From the comment in the file: Why is Hash's implementation insufficient here?? in

[perl #40639] [TODO] Tcl - hack src/pmc/tclfloat.pmc to approximate right precision output

2006-11-01 Thread Paul Cochrane
# New Ticket Created by Paul Cochrane # Please include the string: [perl #40639] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40639 From the comment in the file: hack [the precision in the get_string() function] to

Re: [perl #40637] [TODO] Tcl - Throw exception about invalid boolean type in src/pmc/tclstring.pmc

2006-11-01 Thread Paul Cochrane
This patch adds the RT ticket number to the TODO comment in the source of languages/tcl/src/pmc/tclstring.pmc tcl_string_pmc.patch Description: Binary data

Re: [perl #40638] [TODO] Tcl - work out why hash implementation insufficient in src/pmc/tclarray.pmc

2006-11-01 Thread Paul Cochrane
This patch adds the RT ticket number to the TODO comment in the source of languages/tcl/src/pmc/tclarray.pmc tcl_array_pmc.patch Description: Binary data

Re: [perl #40639] [TODO] Tcl - hack src/pmc/tclfloat.pmc to approximate right precision output

2006-11-01 Thread Paul Cochrane
This patch adds the RT ticket number to the TODO comment in the source of languages/tcl/src/pmc/tclfloat.pmc tcl_float_pmc.patch Description: Binary data

[svn:perl6-synopsis] r13366 - doc/trunk/design/syn

2006-11-01 Thread audreyt
Author: audreyt Date: Wed Nov 1 07:51:52 2006 New Revision: 13366 Modified: doc/trunk/design/syn/S01.pod doc/trunk/design/syn/S11.pod Log: * S01 and S11: Per fglock++'s suggestion, add the use v5; compatibility form, which can occur only at the beginning of a lexical block: use

Re: mmd-draft.txt

2006-11-01 Thread Audrey Tang
在 Oct 26, 2006 10:26 AM 時,TSa 寫到: I figure that http://svn.openfoundry.org/pugs/docs/notes/multi_method_dispatch/ mmd-draft.txt hasn't made it into S06 yet. So what is the current state of affairs? The original plan was to have Larry review it in Brazil and check it in along with an

[perl #40640] [TODO] Tcl - move backslash hash and hex hash into a class attribute

2006-11-01 Thread Paul Cochrane
# New Ticket Created by Paul Cochrane # Please include the string: [perl #40640] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40640 Move the backslash and hexadecimal hashes into a class attribute in file:

Re: [perl #40640] [TODO] Tcl - move backslash hash and hex hash into a class attribute

2006-11-01 Thread Paul Cochrane
This patch adds the RT ticket number to the TODO comment in the source file languages/tcl/src/class/tclconst.pir

[svn:perl6-synopsis] r13371 - doc/trunk/design/syn

2006-11-01 Thread larry
Author: larry Date: Wed Nov 1 10:10:57 2006 New Revision: 13371 Modified: doc/trunk/design/syn/S12.pod Log: Switched to explicit ;; for separating longest longname from subsequent args. Modified: doc/trunk/design/syn/S12.pod

Re: variables inside an eval

2006-11-01 Thread Audrey Tang
在 Oct 29, 2006 4:34 PM 時,Richard Hainsworth 寫到: If I have the following my $self = some text; my $nself = ~eval(q/self is $self/,:langperl5); then surely $nself should be self is some text. But it is not. $self is not set inside the eval in pugs. But say ~eval(q/self is $self/); yields

Re: [perl #40626] [BUG] :vtable fails for subclasses of core classes

2006-11-01 Thread Jonathan Worthington
Patrick R.Michaud (via RT) wrote: The new :vtable pragma doesn't seem to work when used on methods of subclasses of core classes. Here's a quick sample (I'm also adding this test to t/pmc/parrotobject.t): $ cat vt.pir .sub main :main $P0 = subclass 'Hash', 'Foo' $P0 =

Re: [perl #40626] [BUG] :vtable fails for subclasses of core classes

2006-11-01 Thread Jonathan Worthington
(sorry for empty reply earlier) Patrick R.Michaud (via RT) wrote: The new :vtable pragma doesn't seem to work when used on methods of subclasses of core classes. Here's a quick sample (I'm also adding this test to t/pmc/parrotobject.t): snip Thanks for the good test case, which has enabled