Re: [PATCH]class_count_mutex

2005-05-29 Thread Leopold Toetsch
Vladimir Lipsky [EMAIL PROTECTED] wrote: class_count_mutex is used without having been initialized. The fixes that. Thanks, applied - r8198 leo

Anonymous classes

2005-05-29 Thread Simon Cozens
Hello, I'm having a seriously good time porting Maypole to Perl 6. If you still have reservations about how Perl 6 is going to be to program in, I urge you to try programming in it. Now, commercial over, I have some questions. What's the syntax for declaring inherited anonymous

Re: can't build pugs with parrot support

2005-05-29 Thread vadim
You'd probably need to pull a later version from hs-plugin's darcs repository: http://www.cse.unsw.edu.au/~dons/code/hs-plugins ok, thank for advice, now I'm in process of installing this. However even with elder hs-plugins parrot and perl support was installed fine; (looks like I only

[perl #36026] [PATCH]Modified Strength Reduction Redux

2005-05-29 Thread via RT
# New Ticket Created by Curtis Rawls # Please include the string: [perl #36026] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/rt3/Ticket/Display.html?id=36026 The first patch (optimizer.patch) does cleanup/refactoring/improvements to the

chomp problem

2005-05-29 Thread Jens Rieks
Hi, the attached patch shows a problem with chomp. Output: [EMAIL PROTECTED]:~/projekte/pugs$ ./pugs -Iblib6/lib t/builtins/strings/chomp.t 1..12 ok 1 - our variable is chomped correctly ok 2 - our variable is chomped again with no effect ok 3 - our variable is chomped correctly ok 4 - our

Re: Anonymous classes

2005-05-29 Thread Ingo Blechschmidt
Hi, Simon Cozens wrote: I'm having a seriously good time porting Maypole to Perl 6. If you still have reservations about how Perl 6 is going to be to program in, I urge you to try programming in it. Now, commercial over, I have some questions. :) class Foo { has Class

Re: function signatures?

2005-05-29 Thread Ingo Blechschmidt
Hi, Yuval Kogman wrote: We have a pretty complex declarative language for argument processing in the parameter declaration: [...] arity as a number does not give enough reflection into these properties. Indeed. Are signatures going to be an exposed first class object in Perl 6? I hope so,

Fully introspectable Code objects?

2005-05-29 Thread Ingo Blechschmidt
Hi, while responding to nothingmuch++'s post function signatures?, I thought that it'll be great if Code objects were fully introspectable. I.e.: foo.statements; # List of statements foo.statements[0] # First statement foo.statements[2] = ...;# Statement

Re: [perl #36026] [PATCH]Modified Strength Reduction Redux

2005-05-29 Thread Leopold Toetsch
Curtis Rawls [EMAIL PROTECTED] wrote: The first patch (optimizer.patch) does cleanup/refactoring/improvements to the strength_reduce() function in optimizer.c . Thanks, applied - 8203 NB: some more come to my mind: add I0, 1 = inc I0 add N0, 1.0 = inc N0 sub I0, 1 = dec I0 sub

Re: Anonymous classes

2005-05-29 Thread Simon Cozens
[EMAIL PROTECTED] (Ingo Blechschmidt) writes: I think the only thing you're missing are two braces: $.request_class = class is Foo::Request {}; Thank you; then how do I put methods into $.request_class? -- I will make no bargains with terrorist hardware. -- Peter da Silva

Re: Anonymous classes

2005-05-29 Thread Ingo Blechschmidt
Hi, Simon Cozens wrote: [EMAIL PROTECTED] (Ingo Blechschmidt) writes: I think the only thing you're missing are two braces: $.request_class = class is Foo::Request {}; Thank you; then how do I put methods into $.request_class? $.request_class = class is Foo::Request { method blarb

TclLists - TclStrings

2005-05-29 Thread Will Coleda
Tcl has a need to be able to convert between Lists and Strings. All of the morphing samples that are in, say, PerlUndef are for scalars. Right now, I have a PIR method, _Tcl::__stringToList that takes a string, and then uses the tcl parser to split it up into a list. What I'd like to do is

[PATCH] Improve loadlib handling of absolute and partial pathnames

2005-05-29 Thread Bob Rogers
The problem is that if you do loadlib /home/rogers/foo/bar/baz Parrot_load_lib finds and loads /home/rogers/foo/bar/baz.so just fine, but then the library isn't initialized properly because it attempts to look up the address of Parrot_lib_/home/rogers/foo/bar/baz_load via dlsym, and

Re: comprehensive list of perl6 rule tokens

2005-05-29 Thread Jeff 'japhy' Pinyan
On May 26, Patrick R. Michaud said: commit N backtracking fails completely cut N remove what matched up to this point from the string after P N we must be after the pattern P !after PN we must NOT be after the pattern P before P

[PATCH]Parrot_dod_sweep fix

2005-05-29 Thread Vladimir Lipsky
This patch prevents from an attempt to add a NULL PMC_EXT structure to the pmc ext pool while in dod sweep run. dod.c.patch Description: Binary data

Re: can't build pugs with parrot support

2005-05-29 Thread Autrijus Tang
On Sun, May 29, 2005 at 01:08:58PM -0400, vadim wrote: While 'pugs' binary is a bit larger than 7Mb, 'pugs' with support of parrot and perl is only a bit smaller than 20M. Am I understanding correctly that both Perl and Parrot get statically built into binary? That is correct. Thanks,

Re: Pugs makefile minor inconvenience: pugs.exe.bat

2005-05-29 Thread Grégoire Péan
As soon as I have finished with PXPerl 5.8.6-2 (with Pugs 6.2.5 and Parrot 0.2.0), I'll try to handle this =) On 5/28/05, Autrijus Tang [EMAIL PROTECTED] wrote: On Sat, May 28, 2005 at 09:24:13PM +0200, Gr?oire P?n wrote: make install with Pugs creates a pugs.exe.bat file in Perl bin

Re: can't build pugs with parrot support

2005-05-29 Thread vadim
While 'pugs' binary is a bit larger than 7Mb, 'pugs' with support of parrot and perl is only a bit smaller than 20M. Am I understanding correctly that both Perl and Parrot get statically built into binary? That is correct. thanks! BTW it is quite convenient to have an independent binary

Re: Fully introspectable Code objects?

2005-05-29 Thread Luke Palmer
On 5/29/05, Ingo Blechschmidt [EMAIL PROTECTED] wrote: Hi, while responding to nothingmuch++'s post function signatures?, I thought that it'll be great if Code objects were fully introspectable. I.e.: foo.statements; # List of statements foo.statements[0] #

[PATCH]PackFile_destroy fix

2005-05-29 Thread Vladimir Lipsky
Nested packfile segments of type directory are freed twice by default_destroy(). The first time it happens in directory_destroy(), and the second time in PackFile_Segment_destroy(). This behavior is, of course, incorrect, the patch fixes it. packfile.c.patch Description: Binary data

Re: function signatures?

2005-05-29 Thread Sam Vilain
Ingo Blechschmidt wrote: Are signatures going to be an exposed first class object in Perl 6? I hope so, too. ~foo.signature; # Signature objects should stringify to a canonized form, e.g.: # ~sub (Str $bar, CoolClass $z where {...}) {...}.signature == # 'Str $bar, ANONCLASS(0xDEADBEEF)'