pugscode.org/ | nopaste: sial.org/pbot/perl6 | pugs: [~] <m oo se> (or rakudo:, kp6:, elf: etc.) (or perl6: for all) | irclog: irc.pugscode.org/
Set by Tene on 29 July 2008.
00:18 Jedai left, Jedai joined 00:28 meppl joined 00:34 ab5tract left 00:44 Ontolog left 00:48 eternaleye joined 00:56 ab5tract joined 01:14 Bzek joined 01:24 alanhaggai joined 01:33 kanru left 01:36 ab5tract left
meppl good night 01:43
01:44 meppl left 01:52 alester joined 02:06 wknight8111 joined 02:22 kanru joined 02:23 Jedai left, Jedai joined 02:29 wknight8111 left 02:42 REPLeffect joined 02:45 hercynium joined 03:02 elmex_ joined 03:16 elmex left, elmex_ is now known as elmex 03:33 Bzek left 03:52 Bzek joined 03:55 wayland76 joined 04:06 alanhaggai_ joined, alanhaggai left 04:08 FireMinion left 04:28 sri_work left 04:41 eternaleye left 04:42 justatheory left 04:54 yahooooo left 05:08 alanhaggai__ joined 05:10 wayland_ joined 05:11 wayland76 left 05:14 alester left 05:22 zamolxes left 05:23 alanhaggai_ left 05:45 iblechbot joined 05:48 alanhaggai__ is now known as alanhaggai 05:56 Psyche^ joined 06:07 Patterner left, Psyche^ is now known as Patterner 06:14 iblechbot left 06:28 Jedai left, Jedai joined
wayland_ Question; is there anything like Data::Dumper for Rakudo? 06:46
Or rather, is there any way I can get documentation on the tree that is built after running a grammar?
Ok, I've discovered that a Regex is a Sub object; anyone know how to get a list of attributes for a Sub object? 07:04
Although if anyone knows how to do it for a whole grammar, that would be even better 07:07
07:08 Jedai left, Jedai joined 07:10 azawawi joined
azawawi hi * 07:10
wayland_ azawawi: hi 07:11
azawawi @tell moritz_ im interested in www.nntp.perl.org/group/perl.perl6....g788.html. 07:31
lambdabot Consider it noted.
07:52 adc_Penner2 joined 07:57 dominiko joined 07:59 iblechbot joined 08:07 adc_Penner left 08:25 xinming_ left 08:26 pmurias joined 08:52 dac524 joined 08:53 smg left 08:57 dac524 left 09:00 araujo left 09:08 Jedai left, Jedai joined 09:11 yahooooo joined 09:15 dominiko left 09:27 pbuetow joined, alanhaggai left 09:44 alanhaggai joined, ihrd joined 09:53 meppl joined 09:56 pmurias left 10:23 smg joined
pugs_svn r22645 | pmurias++ | [mildew] t/hacks/out.t runs 10:25
10:28 alanhaggai left, alanhaggai joined 10:36 masak joined 10:48 Jedai left, Jedai joined 10:51 kane_ left 11:08 alanhaggai left 11:13 Jedai left, Jedai joined 11:22 alanhaggai joined
masak if "file" ~~ :e returns whether a file exists, what should "file" ~~ :foo return? 11:28
(for values of foo which don't have established meaning as filetest pairs in Perl 6)
11:35 wayland_ left 11:36 azawawi left
masak what's the easiest way to ask "is this range a part of that range" in Perl 6? 11:39
11:42 pmurias joined
pmurias masak: re first question see S03:2999 11:43
re second $elem ~~ $range 11:44
masak pmurias: I see the line, but I'm not sure how that answers the question
pmurias: I'm talking about two ranges, not an elem and a range
does S03:2999 mean that it tries to call a method, regardless? 11:45
pmurias i think so
masak I can do that :)
pmurias $a.min >= $b.min && $a.max <= $b.max 11:46
masak so, in effect "file" ~~ :e translates to "file".:e(1), right?
pmurias: ok, that's reasonable 11:47
you could even do that with just <= comparisons
$b.min <= $a.min <= $a.max <= $b.max 11:48
pmurias nicer, i'm not used to <= doing chaining yet 11:49
masak I'm still trying to decide if it's nicer or not :)
rakudo: "file".:e(1) 11:51
p6eval rakudo 31963: OUTPUT[Multiple Dispatch: No suitable candidate found for 'concatenate_str', with signature 'PSP->P'␤current instr.: 'parrot;Perl6;Grammar;Actions;_block2075' pc 116247 (src/gen_actions.pir:5679)␤]
masak oy
pmurias it's closer to the way ranges would be represented on a line
masak that's true
in "file".:e(1), is the method name ':e' ?
rakudo: "file".':e'(1) 11:52
p6eval rakudo 31963: OUTPUT[Method ':e' not found for invocant of class 'Perl6Str'␤current instr.: '_block11' pc 37 (EVAL_13:18)␤]
masak ah, that's better :)
11:59 netlogdata joined, netlogdata left
masak I expect there to be a subset operator ⊂ available as a fairly well-respected Perl 6 language extension, for checking subsethood of arrays, hashes and ranges 12:00
12:20 ihrd left
masak the filetest methods, :e et al, are not in S29. 12:24
12:28 Jedai left, Jedai joined 12:38 xinming joined 12:48 Jedai left 12:49 Jedai joined 13:02 alanhaggai left 13:05 araujo joined 13:06 sri_work joined 13:23 icwiener joined 13:32 alanhaggai joined 13:38 Jedai left 13:39 Jedai joined 13:44 ihrd joined 13:45 iblechbot left 13:55 kanru left 14:03 Jedai left, Jedai joined 14:04 ihrd left 14:20 wknight8111 joined 14:25 lambdabot left 14:27 lambdabot joined 14:28 kanru joined 14:40 kanru left 14:41 kanru joined 14:42 Torment left
pmurias moritz_: it would be nice to have mildew in the evalbot ;) 14:49
15:21 azawawi joined
azawawi hi 15:22
masak azawawi: hello 15:23
15:27 jan_ left 15:29 jan_ joined 15:36 iblechbot joined 15:49 masak left, azawawi left 15:57 hercynium left, silug left
pugs_svn r22646 | pmurias++ | [smop] Scalar.STORE returns the stored value 16:09
16:23 salv02 joined 16:25 |Jedai| joined 16:27 awwaiid left, Torment joined 16:31 tewk joined 16:33 pmurias left 16:41 Jedai left, pmurias joined 16:42 wknight8111_ joined
pmurias @tell ruoso why is SMOP_INTERNAL_*_SEQUENCE seperated with SMOP_BOOTSTRAP_*_SEQUENCE? 16:42
lambdabot Consider it noted.
16:43 wknight8111_ left 16:44 tewk_ left 16:47 salv02 left 16:49 justatheory joined 16:57 justatheory left 17:11 xuser left 17:22 xuser joined 17:23 mberends joined 17:30 ^aristotle joined
^aristotle rakudo: 0.37 17:32
p6eval rakudo 31963: RESULT[0.37]
^aristotle rakudo: 0.37<<**<<0..8
p6eval rakudo 31963: OUTPUT[Statement not terminated properly at line 1, near "<<**<<0..8"␤␤current instr.: 'parrot;PGE;Util;die' pc 129 (runtime/parrot/library/PGE/Util.pir:83)␤]
^aristotle rakudo: 0.37 <<**<< 0..8
p6eval rakudo 31963: OUTPUT[Statement not terminated properly at line 1, near "<<**<< 0.."␤␤current instr.: 'parrot;PGE;Util;die' pc 129 (runtime/parrot/library/PGE/Util.pir:83)␤]
^aristotle rakudo: 0..8 17:33
p6eval rakudo 31963: RESULT[0..8]
^aristotle rakudo: 0.37 >>**<< 0..8
p6eval rakudo 31963: OUTPUT[Statement not terminated properly at line 1, near ">>**<< 0.."␤␤current instr.: 'parrot;PGE;Util;die' pc 129 (runtime/parrot/library/PGE/Util.pir:83)␤]
^aristotle rakudo: 0.37 <<*<< 0..8
p6eval rakudo 31963: OUTPUT[Statement not terminated properly at line 1, near "<<*<< 0..8"␤␤current instr.: 'parrot;PGE;Util;die' pc 129 (runtime/parrot/library/PGE/Util.pir:83)␤]
^aristotle rakudo: 0..8 >>+>> 1 17:34
p6eval rakudo 31963: OUTPUT[Statement not terminated properly at line 1, near ">>+>> 1"␤␤current instr.: 'parrot;PGE;Util;die' pc 129 (runtime/parrot/library/PGE/Util.pir:83)␤]
^aristotle scratches head
pugs: 0..8 >>+>> 1
p6eval pugs: OUTPUT[*** ␤ Unexpected ">>+>>"␤ expecting operator␤ at /tmp/Gp1YeNU0Zv line 1, column 6␤]
^aristotle pugs: 0..8 <<*>> 1 17:35
p6eval pugs: OUTPUT[*** ␤ Unexpected "<<*>>"␤ expecting operator␤ at /tmp/mMGTXNXsan line 1, column 6␤]
17:35 smg left
^aristotle aha, *that* bot responds to queries. sorry for the noise 17:36
18:08 wknight8111 left 18:15 scrottie left 18:23 alanhaggai left, alanhaggai joined 18:30 alanhaggai left, Bzek left 18:42 mj41_ joined 18:49 PZt left 19:00 mj41 left 19:06 smg joined
meppl good night 19:34
19:37 meppl left 20:01 eternaleye joined 20:15 ^aristotle left 20:26 eternaleye left 20:27 eternaleye joined 20:28 eternaleye left 20:29 eternaleye joined
pugs_svn r22647 | pmurias++ | [smop] support for binding to hash elements 20:30
20:32 mberends left
pmurias what does ($foo := $bar) := $baz do? 20:33
in other words what does infix:<:=> return? 20:34
pugs_svn r22648 | pmurias++ | [smop] added missing file 20:40
r22648 | pmurias++ | [mildew] my $foo;
21:26 alester joined 21:32 explorer joined 21:43 icwiener left
pasteling "mj41" at 147.229.5.124 pasted "subversion problem inside pugs/v6/smop/m0ld directory" (28 lines, 1K) at sial.org/pbot/32705 21:45
mj41_ Hi. Any ideas?
21:50 pmurias left 21:56 alester left 22:01 fridim_ joined 22:12 FireMinion joined 22:13 demq left 22:29 adc_Penner2 left 23:01 iblechbot left 23:21 pcbuetow joined 23:36 pbuetow left 23:43 jamtech joined 23:50 alester joined