Re: [perl #61106] Something doesn't work in hash indexing through a closure in Rakudo

2008-12-07 Thread Carl Mäsak
Moritz (), Carl (): Rakudo r33577 responds strangely to the following program: $ perl6 -e 'my $locator = method { .here }; my %h = { here = foo }; say %h.$locator' get_pmc_keyed() not implemented in class 'Undef' [...] I'd expect it to output foo. Is it actually specified that an

Re: Files, Directories, Resources, Operating Systems

2008-12-07 Thread Mark Overmeer
* Aristotle Pagaltzis ([EMAIL PROTECTED]) [081204 16:57]: * Mark Overmeer [EMAIL PROTECTED] [2008-12-04 16:50]: * Aristotle Pagaltzis ([EMAIL PROTECTED]) [081204 14:38]: Furthermore, from the point of view of the OS, even treating file names as opaque binary blobs is actually fine!

Re: Files, Directories, Resources, Operating Systems

2008-12-07 Thread Aristotle Pagaltzis
* Mark Overmeer [EMAIL PROTECTED] [2008-12-07 14:20]: - you have XML-files with meta-data on files which are being distributed. (I have a lot of those) Use URI encoding unless you like a world of pain. You are looking at it from the wrong point of view: Perl is used as a glue

Re: [perl #61074] perl6/parrot make spectest_regression failures

2008-12-07 Thread Moritz Lenz
johnb (via RT) wrote: # New Ticket Created by johnb # Please include the string: [perl #61074] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61074 Hi, I was browsing the page:

Re: how to write literals of some Perl 6 types?

2008-12-07 Thread Moritz Lenz
Dave Whipp wrote: Carl Mäsak wrote: Paul (): I can't find anything in the existing synopses about Blobs. Probably looking in the wrong place, sorry. http://perlcabal.org/syn/S02.html#line_912 Re-reading that, a slightly tangent (though still on topic, I hope) thought come to mind. The

Re: [perl #60986] Win32 package refuses to install if not run by an administrator

2008-12-07 Thread GW
Andrew Whitworth via RT wrote: On Tue Dec 02 05:50:02 2008, [EMAIL PROTECTED] wrote: Hi, I think it is wrong that the Win32 installation package for Parrot refuses to install if not run by an administrator. I simply do not want to pollute my system and am therefore using a

Re: [perl #41095] [BUG] Segfault in test.exe during Configuration

2008-12-07 Thread Nikolay Ananiev
Tested with r33568. The bug is still there. - Original Message - From: Will Coleda via RT [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 03, 2008 10:00 PM Subject: [perl #41095] [BUG] Segfault in test.exe during Configuration Can someone test this with a recent

[perl #61092] JSON/pge2pir.pir segaful on amd64

2008-12-07 Thread via RT
# New Ticket Created by Ilya Belikin # Please include the string: [perl #61092] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61092 Hi! --- osname= linux osvers= 2.6.22-3-amd64 arch= x86_64-linux-gnu-thread-multi

[perl #61100] Calling .WHAT on an attribute with the type of the surrounding class doesn't work in Rakudo

2008-12-07 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #61100] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61100 Rakudo r33577 can handle a .WHAT call on an attribute whose type is a class... $

[perl #61120] [BUG] Inherited classes doesn't provide initialisation of inherited attributes in constructor

2008-12-07 Thread Vasily Chekalkin
# New Ticket Created by Vasily Chekalkin # Please include the string: [perl #61120] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61120 bacek rakudo: class A { has $.a }; class B is A {}; my $b = B.new(a=foo);

[perl #61122] [TODO] Implement .pick on user-defined enums

2008-12-07 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #61122] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61122 The following should return the months in random order: $ perl6 -e 'enum Month Jan

[perl #61126] return should apply to the lexically enclosing routine, map is no exception

2008-12-07 Thread via RT
# New Ticket Created by Daniel Ruoso # Please include the string: [perl #61126] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61126 The following two snippets of code are supposed to behave the same: sub bar($code)

[perl #61128] some classes leak through from Parrot and cannot be declared in Rakudo

2008-12-07 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #61128] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61128 masak rakudo: class Task {} [15:39] p6eval rakudo 33603: OUTPUT[Class Task

Re: [perl #61116] AutoReply: test failing in trunk

2008-12-07 Thread Andreas J. Koenig
On Sat, 06 Dec 2008 23:03:17 -0800, Parrot via RT [EMAIL PROTECTED] said: t/op/callingNOK 73/98 git bisect blames https://svn.perl.org/parrot/[EMAIL PROTECTED] -- andreas

Re: [perl #41095] [BUG] Segfault in test.exe during Configuration

2008-12-07 Thread Will Coleda
Thanks - can you also let us know the following: What version of windows are you using? Which compiler (including version)? On Sat, Dec 6, 2008 at 11:47 AM, Nikolay Ananiev [EMAIL PROTECTED] wrote: Tested with r33568. The bug is still there. - Original Message - From: Will Coleda via

Re: [perl #61126] return should apply to the lexically enclosing routine, map is no exception

2008-12-07 Thread Carl Mäsak
Daniel, in rakudobug ticket [perl #61126] (): The following two snippets of code are supposed to behave the same: sub bar($code) { $code() }; sub foo { bar { return 1 }; return 2; }; say foo; and sub foo { map { return 1 }, 1; return 2 }; say foo; both are supposed to return 1. For

[perl #61106] Something doesn't work in hash indexing through a closure in Rakudo

2008-12-07 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #61106] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61106 Rakudo r33577 responds strangely to the following program: $ perl6 -e 'my $locator =

[perl #61088] [PATCH] show result of expressions in HLLCompiler based interactive REPLs

2008-12-07 Thread gabriele renzi
# New Ticket Created by gabriele renzi # Please include the string: [perl #61088] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61088 the current HLLCompiler infrastructure seems to be an incomplete REPL, since it

[perl #61130] :nth() does not work with :x() or :g in .subst in Rakudo

2008-12-07 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #61130] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61130 The .subst method in Rakudo r33599 can understand :x()... $ perl6 -e 'say

bug reports

2008-12-07 Thread Илья
Hi! I have reported parrot bug at [EMAIL PROTECTED] http://rt.perl.org/rt3/Public/Bug/Display.html?id=61092 But mb I use wrong mail? I know you use Track now, and wonder why I got response from rt.perl.org instead of Track. ihrd

[Parrot] New comment on Episode 3: Squaak Details and First Steps.

2008-12-07 Thread srottak
srottak has left a new comment on your post Episode 3: Squaak Details and First Steps: Ok, I have 2 grammars: grammar test::Grammar is PCT::Grammar; rule TOP { foo* [ $ || panic: 'Syntax error' ] {*} } rule foo { 'hello' {*} } and grammar test::Grammar is PCT::Grammar; rule TOP { expression*

[perl #61102] Calling private methods with the string syntax doesn't work in Rakudo

2008-12-07 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #61102] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61102 Rakudo r33577 can do private method calls. $ perl6 -e 'class A { my method x {};

[perl #61096] Null PMC access in get_string() when using return value from failed eval

2008-12-07 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #61096] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61096 Rakudo r24153: # no error as expected $ ./perl6 -e 'eval my foo ::= { foo }; foo;'

[Parrot] New comment on Episode 3: Squaak Details and First Steps.

2008-12-07 Thread kjs
kjs has left a new comment on your post Episode 3: Squaak Details and First Steps: expression refers to the rule (or token) expression. If you declare a rule foo, and you want to use it, you need to put the pointy brackets around it, like foo. Posted by kjs to Parrot at December 6, 2008 7:14

Boolean#perl

2008-12-07 Thread Mark J. Reed
Prompted by the recent thread on literals... This is Rakudo Perl 6, revision 33618 built on parrot 0.8.1-devel This works: $ perl6 -e 'say Bool::True.perl' Bool::True This doesn't: $ perl6 -e 'say True.perl' Method 'perl' not found for invocant of class '' current instr.: '_block11' pc 26

[perl #61104] [TODO] Implement array method dispatch

2008-12-07 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #61104] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61104 This should work, according to S12: $ perl6 -e 'class A { method x(Int $a) { say Int

[perl #61124] [TODO] Implement .clone method on objects

2008-12-07 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #61124] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61124 The following should work in Rakudo: $ perl6 -e 'class A {}; my $a = A.new.clone'

[perl #61094] signature parsing and sub dispatch too permissive

2008-12-07 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #61094] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61094 While reviewing some tests in t/blocks/ I've found some bugs in rakudo's signature

[perl #61116] test failing in trunk

2008-12-07 Thread Andreas J. Koenig
# New Ticket Created by (Andreas J. Koenig) # Please include the string: [perl #61116] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61116 --- osname= linux osvers= 2.6.18-6-xen-amd64 arch=

[perl #61108] [TODO] 'my class' and 'our class'

2008-12-07 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #61108] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61108 $ perl6 -e 'my class A {}' Could not find non-existent sub my $ perl6 -e 'our class

Re: [perl #59810] [PATCH] store hash seed in parrot_string_t struct

2008-12-07 Thread Christoph Otto
Christoph Otto wrote: I'd appreciate comments or a quick code review as to whether I should apply the patch as-is (sans randomization) once the failing OrderedHash test passes. It's admittedly not a complete solution, but it does hide Parrot's hash seed from any PARROT_EXPORT functions and