pugscode.org/ | nopaste: sial.org/pbot/perl6 | pugs: [~] <m oo se> (or rakudo:, kp6:, smop: etc.) || We do Haskell, too | > reverse . show $ foldl1 (*) [1..4] | irclog: irc.pugscode.org/ Set by TimToady on 25 January 2008. |
|||
00:02
icwiener left
|
|||
speckbot | r14552 | larry++ | this sentence no verb, diakopter++ | 00:08 | |
diakopter | moritz_: speckbot log links go to pugscode | 00:10 | |
00:21
cj joined
00:23
thepler joined
01:29
a-jing joined,
a-jing left
|
|||
diakopter | moritz_: see here for speckbot svn diff links: www.perlcabal.org/svn/p6spec/revision?rev=14552 | 01:40 | |
lambdabot | Title: revision: /p6spec (Rev: 14552, via SVN::Web) | ||
01:44
meppel-san left
02:04
r0bby joined,
Chillance left
|
|||
bacek | rakudo: my @a=(1..3); @a[10]='foo'; say ~@a; | 02:17 | |
p6eval | rakudo r28370 OUTPUT[1 2 3 foo] | ||
02:23
sri_work left
02:52
kanru joined
|
|||
bacek | rakudo: my@a; @a[2]='foo'; my $b = shift @a; say $b; | 02:54 | |
p6eval | rakudo r28370 OUTPUT[Null PMC access in can()current instr.: 'parrot;Perl6Object;infix:=' pc 36 (src/gen_builtins.pir:44) | ||
bacek | rakudo: my @a; @a[2]='foo'; my $b = shift @a; say $b; | ||
p6eval | rakudo r28370 OUTPUT[Null PMC access in can()current instr.: 'parrot;Perl6Object;infix:=' pc 36 (src/gen_builtins.pir:44) | 02:55 | |
bacek | pugs: my @a; @a[2]='foo'; my $b = shift @a; say $b; | ||
p6eval | OUTPUT[] | ||
bacek | pugs: my @a; @a[2]='foo'; shift @a; shift @a; my $b = shift @a; say $b; | 02:56 | |
p6eval | OUTPUT[foo] | ||
03:03
mjk left
03:04
pbuetow left,
elmex_ joined
03:12
Limbic_Region left
03:19
elmex left,
elmex_ is now known as elmex
03:37
alester joined
03:43
bacek left
03:52
vsoni joined
04:05
alester left
04:07
vsoni left
04:10
alester joined
04:18
rhr_ joined
05:25
alester left
|
|||
pugs_svnbot | r20823 | lwall++ | [STD5] progress in parsing STD, squashed various LazyMap bugs | 05:31 | |
05:43
a-jing joined,
a-jing left
05:53
justatheory joined
05:58
justatheory left,
cathyal joined
06:07
justatheory joined
06:08
xinming_ left
06:09
justatheory left
06:13
xinming joined
06:20
borondil joined
06:36
iblechbot left
06:42
Ched- joined
06:43
Ched- left
06:53
Psyche^ joined
06:57
redicaps left
07:07
Patterner left,
Psyche^ is now known as Patterner
07:16
cathyal left
07:17
cathyal joined
07:36
borondil left
07:39
bacek joined
07:54
Jedai joined
07:56
pawel joined
|
|||
pawel | diakopter: re add runtime eval in TODO what does that refer to? | 07:57 | |
moritz_ | diakopter++ # speckbot | 07:58 | |
07:58
pawel is now known as pmurias
08:20
barney joined
08:28
iblechbot joined
08:39
a-jing joined,
a-jing left
09:34
barney left
09:36
barney joined
|
|||
pmurias | &slurp and &unslurp lives in the IO package | 09:37 | |
? | |||
09:37
cathyal left
09:41
araujo left
09:44
barney left
09:46
barney joined
09:49
barney left
09:51
barney joined
09:54
cathyal joined
|
|||
bacek | rakudo: say ~(1,2,3,4).map({ $^a + $^b + $^c}), (1..4); | 09:54 | |
p6eval | rakudo r28375 OUTPUT[6 41234] | ||
bacek | rakudo: say ~(1,2,3,4).map({ $^a + $^b + $^c}); | 09:55 | |
p6eval | rakudo r28375 OUTPUT[6 4] | ||
pmurias | diakopter: ping | 10:17 | |
10:29
schmalbe joined
10:32
schmalbe left
10:39
schmalbe joined
10:43
barney left
|
|||
cathyal | quelqu'un parle franxE7ais ici? | 10:48 | |
diakopter | pmurias: pong | ||
diakopter airport sits | 10:49 | ||
pmurias: re 'runtime eval' that was a long ways away. | |||
diakopter plane boards | 10:50 | ||
10:51
bacek left
|
|||
pmurias | diakopter: where are you from? | 10:51 | |
does irc support color? | 11:21 | ||
smtms | IRC does support colour, though in some channels it's disabled | 11:23 | |
11:26
schmalbe left
|
|||
pmurias | 2this is blue | 11:30 | |
seems to work ;) | |||
11:44
deq` joined
11:55
chris2 joined
|
|||
moritz_ | yes, indeed | 11:59 | |
pmurias | moritz_: why is filename completion for perl script argments broken on my debian box? | 12:04 | |
* arguments | |||
is it a generic debian problem? or a local one ? ;) | 12:07 | ||
s/debian box/laptop runing debian/ | |||
moritz_ | pmurias: it seems to be related to /etc/bash_completion | ||
pmurias: any command line with perl and an option refuses to tab-complete file names :( | |||
pmurias | yes | 12:09 | |
rakudo_svn | r28377 | jonathan++ | [rakudo] Implement %*ENV. There seems to be some issues iterating it, but it should be enough to do the basic CGI bits that the PerlMonk wanted. | 12:10 | |
pmurias | moritz_: commenting the perl section out fixes the problem | 12:13 | |
moritz_ | pmurias: maybe write a bug report? | ||
pmurias | hm | 12:14 | |
moritz_ | pmurias: seems to be fixed in testing (at least for me) | 12:16 | |
pmurias | ok than | 12:17 | |
any one has a better way of displaying the match object than | |||
<comp_unit><statementlist><statement><EXPR><noun><term><name><ident><alpha>s</alpha>ay</name></ident><arglist><unv> </unv><EXPR><noun><value><quote>"<nibble>hi</nibble><stopper>"</statement></EXPR></noun></term></arglist></EXPR></noun></value></quote></stopper>; | |||
somethings wrong with that pay no attention | 12:18 | ||
;) | |||
rakudo_svn | r28378 | pmichaud++ | [rakudo]: | 12:24 | |
r28378 | pmichaud++ | * Refactor %*ENV, $*IN, $*OUT, $*ERR to src/builtins/globals.pir . | |||
12:24
Ched joined
12:25
Ched left
12:27
cognominal_ joined
|
|||
spinclad | pmurias: hurts my eyes to look at that, it's all cross-wrapped | 12:30 | |
moritz_ | diakopter: where should the speckbot links point to? | 12:40 | |
pmurias | spinclad: you mean <foo><bar></foo></bar> or irc wrapping lines? | 12:41 | |
fixing the former now | |||
pasteling | "pmurias" at 81.168.228.98 pasted "the dump corrected" (2 lines, 294B) at sial.org/pbot/31313 | 12:47 | |
12:51
chris2 left
|
|||
pmurias | spinclad: any more objections? | 12:51 | |
lunch& | 12:53 | ||
12:56
pmurias left
13:11
sri_work joined
13:15
FurnaceBoy joined
13:46
[particle]ventus joined
14:00
FurnaceBoy left
14:01
pbuetow joined
14:05
Jedai left,
jan_____ joined
|
|||
pugs_svnbot | r20824 | moritz++ | [irclog] fixed speckbot revision links, diakopter++ for reporting | 14:16 | |
14:40
cathyal left
14:45
lumi joined
14:49
pawel joined
14:52
sri_work left
15:04
chris2 joined
15:06
Jedai joined
15:17
pawel left
15:19
deq` left
15:29
justatheory joined
15:30
dolmen joined
|
|||
dolmen | want_array? | 15:31 | |
rakudo? | 15:32 | ||
oh, no purl bot here? | |||
15:34
pmurias joined
|
|||
[particle]ventus | no | 15:34 | |
15:35
cognominal_ left
|
|||
moritz_ | not every channel needs to be tainted ;) | 15:42 | |
15:42
cathyal joined
|
|||
dolmen | what is the Perl6 equivalent of want_array ? | 15:43 | |
pmichaud | see S06 | 15:44 | |
moritz_ | if want.List ... iirc | ||
pmichaud | "The want function" | ||
TimToady | but don't use it | 15:47 | |
moritz_ | ;) | ||
pmichaud | ...because...? | ||
TimToady | BECAUSE I SAID SO! | ||
pmurias | TimToady: where should i put a script which displays the match from STD in a human readable way? | ||
TimToady | you mean like STD5_run does? :) | 15:48 | |
pmichaud | (meekly) .okay. | ||
pmurias | no no | ||
TimToady | define "human readable"... | ||
moritz_ | the philosophy is to return an object that can be used in all contexts accordingly | ||
pmichaud | we might want to update S06 with that. | 15:49 | |
dolmen | I'm writing a fibonacci function | ||
TimToady | I think the most readable form would be to turn it back into Perl 6 :P | ||
dolmen | In list context I would return 2 elements, in scalar context just the last one | ||
pmurias | it's perl6 with xml in it | ||
by human readable i mean it's not meant to cause unnecessary suffering to the reader | 15:51 | ||
TimToady | that's why some of the scripts I use feed the output to ->hash | 15:52 | |
pmurias | it's >10x less output | ||
maybe not >10x | 15:55 | ||
TimToady | ->hash basically weeds out any key starting with _ | 15:56 | |
it's in lieu of p6's %() | |||
I suppose if I made it return an anonymous glob for a Match object, I'd get %{} for free in p5 | |||
but for now STD5 basically just pokes all the values into the hash, including $0, $1, etc, with key of '' for the scalar value | 15:57 | ||
so ->list has to look up hash keys "0", "1", "2"... | 15:58 | ||
pugs_svnbot | r20825 | pmurias++ | a script to display the match object from STD.pm | ||
TimToady | it's getting on toward time to set up tests of STD5 to see which of the basic sanity tests parse | 15:59 | |
pmurias | the run radix.t script you posted used the hash | 16:00 | |
moritz_ | TimToady: I was just about to propose adding parse tests | ||
pmurias | the unfun part is that elf dumps matches in an even uglier way | ||
16:01
araujo joined
|
|||
moritz_ | TimToady: would you benefit from simpler scripts than current t/* for testing STD5? | 16:01 | |
TimToady | usually I just write a one-off if I'm chasing a particular parsing bug that has showed up parsing some full-length file | 16:03 | |
araujo | morning | ||
pmurias | TimToady: seen how my script works? ;) | ||
moritz_ | TimToady: add them all to a dir should_parse, then you have a small regression test | 16:04 | |
and a few otehrs to should_not_parse | |||
TimToady | could use a few more newlines and indentation... | 16:06 | |
and I think it should assume color by default | 16:07 | ||
pmurias | some xml tidying thing could be used | ||
[particle]ventus | you want some #?STD5 markers in the spectests? | 16:10 | |
ruoso | about the want function... considering how the context is delegated to the object in Perl 6, there isn't really a good reason for using "want"... | 16:11 | |
16:11
justatheory left
|
|||
ruoso | you only need to implement an object that "does" Array or "does" Scalar | 16:11 | |
pmurias | cycling& | 16:12 | |
16:12
justatheory joined,
pmurias left,
justatheory left
16:20
pmurias joined
|
|||
pmurias | rain-- | 16:20 | |
16:28
Miquay joined
|
|||
Miquay | hi all | 16:28 | |
16:29
Miquay left,
kanru left,
Coleoid joined
|
|||
rakudo_svn | r28379 | pmichaud++ | [rakudo]: | 16:29 | |
r28379 | pmichaud++ | * Add ternary ?? !! operator. | |||
pugs_svnbot | r20826 | pmurias++ | cleans up the match | 16:31 | |
pmurias | would connecting STD5 to elf be a good idea now? | 16:32 | |
dolmen | rakudo: say Bool::True ?? "Ok" !! "Not yet" | 16:37 | |
p6eval | rakudo r28379 OUTPUT[Ok] | ||
pmurias | TimToady: if there is a way whitespace should be inserted that would be helpfull to you please tell me or feel free to change STD5_dump_match yourself | 16:40 | |
pugs_svnbot | r20827 | pmurias++ | added a --nocolor instead of taking two arguments | ||
16:42
Jedai left
|
|||
TimToady | indenting is easy, just $indent++ on entry and $indent-- on exit | 16:48 | |
then ' ' x $indent | |||
16:51
cognominal_ joined
|
|||
moritz_ | rakudo: say 1 ?? 2 !! 3; | 16:54 | |
p6eval | rakudo r28379 OUTPUT[2] | ||
moritz_ | rakudo: say 0 ?? 2 !! 3; | ||
p6eval | rakudo r28379 OUTPUT[3] | ||
pmurias | TimToady: i'll add an option to do that later | 17:02 | |
17:06
bacek joined
17:17
Eevee_ left
17:19
Ched- joined
17:31
Ched- left
17:41
kanru joined
17:53
cognominal_ left
|
|||
cj | TimToady: happy fathers' day! | 17:54 | |
17:57
[particle]ventus left
17:58
cognominal_ joined
|
|||
TimToady | thank you! | 18:05 | |
18:07
[particle]ventus joined
|
|||
Auzon | rakudo: class Foo {}; say Foo.new.?maybe | 18:11 | |
p6eval | rakudo r28381 OUTPUT[Failure] | ||
Auzon | rakudo: class Foo {}; say Foo.new.maybe | ||
p6eval | rakudo r28381 OUTPUT[Method 'maybe' not found for invocant of class 'Foo'current instr.: '_block11' pc 43 (EVAL_12:20) | ||
Auzon | rakudo: class Foo {}; say Foo.new.'?maybe' | ||
p6eval | rakudo r28381 OUTPUT[Method '?maybe' not found for invocant of class 'Foo'current instr.: '_block11' pc 46 (EVAL_14:23) | ||
Auzon | yay rakudo. | ||
rakudo: say undef ~~ Failure | 18:14 | ||
p6eval | rakudo r28381 OUTPUT[1] | ||
18:17
BinGOs joined
|
|||
rakudo_svn | r28382 | pmichaud++ | [rakudo]: | 18:20 | |
r28382 | pmichaud++ | * Make Parrot's t/doc/pod.t happy with src/globals.pir . | |||
18:31
cathyal left
|
|||
Auzon | rakudo: class Foo {method a {"first"}}; class Bar is Foo {method a {"second"}}; say Bar.new.+a.perl; | 18:33 | |
p6eval | rakudo r28382 OUTPUT[Could not invoke method 'a' on invocant of type 'Bar'current instr.: 'die' pc 8771 (src/gen_builtins.pir:5717) | ||
Auzon | rakudo: class Foo {method a {"first"}}; class Bar is Foo {method a {"second"}}; say Bar.new.a.perl; | ||
p6eval | rakudo r28382 OUTPUT["second"] | ||
Auzon | rakudo: class Foo {method a {"first"}}; class Bar is Foo {method a {"second"}}; my $o = Bar.new; $o.*a.perl.say | 18:34 | |
p6eval | rakudo r28382 OUTPUT[Could not invoke method 'a' on invocant of type 'Bar'current instr.: 'die' pc 8771 (src/gen_builtins.pir:5717) | ||
pugs_svnbot | r20828 | Auzon++ | [gsoc_spectest] new tests for lastcall. moved calling_sets to spec/S12-methods and added more tests. (added 7 tests) | 18:50 | |
19:08
simcop2387 left
|
|||
dolmen | perl6: say Bool::True; | 19:25 | |
p6eval | kp6 r20828: OUTPUT[no method 'APPLY' in Class 'Undef' at compiled/perl5-kp6-mp6/lib/KindaPerl6/Runtime/Perl5/MOP.pm line 345 | ||
..pugs: OUTPUT[1] | |||
..rakudo r28386: OUTPUT[1] | |||
..elf r20828: OUTPUT[Bool::True] | |||
dolmen | where is specified the stringification of Bools ? | 19:27 | |
perl6: say Bool::True.perl; | |||
p6eval | kp6 r20828: OUTPUT[DISPATCH: calling perl on invalid object:$VAR1 = undef; at compiled/perl5-kp6-mp6/lib/KindaPerl6/Runtime/Perl5/MOP.pm line 128 main::DISPATCH('undef', 'perl') called at - line 11] | ||
..pugs: OUTPUT[Bool::True] | |||
..rakudo r28386: OUTPUT[Method 'perl' not found for invocant of class 'Bool'current instr.: '_block11' pc 35 (EVAL_10:19) | |||
..elf r20828: OUTPUT[Can't locate object method "perl" via package "Bool::True" (perhaps you forgot to load "Bool::True"?) at (eval 14) line 3. at ./elf_f_faster line 4549] | |||
19:32
sri_work joined
|
|||
rakudo_svn | r28389 | pmichaud++ | [rakudo]: | 19:39 | |
r28389 | pmichaud++ | * Add .perl to Bool class. | |||
pmichaud | rakudo: say Bool::True.perl | 19:40 | |
p6eval | rakudo r28388 OUTPUT[Method 'perl' not found for invocant of class 'Bool'current instr.: '_block11' pc 35 (EVAL_12:19) | ||
pmichaud | rakudo: say Bool::True.perl | 19:42 | |
p6eval | rakudo r28389 OUTPUT[Bool::True] | ||
pmichaud | yay | ||
perl6: say (!0).perl | |||
p6eval | kp6 r20828: OUTPUT[syntax error at position 4, line 1 column 4:say (!0).per ^ HERE] | ||
..pugs: OUTPUT[Bool::True] | |||
..rakudo r28389: OUTPUT[Bool::True] | |||
..elf r20828: OUTPUT[1] | |||
pmichaud | perl6: say (!1).perl | ||
p6eval | kp6 r20828: OUTPUT[syntax error at position 4, line 1 column 4:say (!1).per ^ HERE] | ||
..pugs: OUTPUT[Bool::False] | |||
..rakudo r28389: OUTPUT[Bool::False] | |||
..elf r20828: OUTPUT[] | |||
20:05
stevan_ joined
20:11
stevan_ left,
stevan_ joined
20:12
barney joined
|
|||
pugs_svnbot | r20829 | lwall++ | [STD] language switching now done with [ :lang($newlang) <stuff> ] | 20:26 | |
dolmen | pmichaud: I submitted a patch: #55860 | 20:43 | |
pmichaud | dolmen: yes, looking at it now. I already did Bool.perl in r28389 | 20:52 | |
but Range.perl looks really good | |||
20:56
fcb joined
|
|||
dolmen | Well, I should not do my tests on the channel: I'm giving you ideas you're faster to implement :) | 20:57 | |
20:57
fcb left
21:02
sri_work left,
dolmen left,
chris2 left,
pbuetow left,
eternaleye left,
SubStack left
|
|||
pmichaud | :-) | 21:04 | |
21:05
SubStack joined
21:06
bbkr__ joined,
eternaleye joined
21:10
pbuetow_ joined,
sri_work joined,
dolmen joined,
pbuetow joined,
japhb joined
21:11
dolmen left,
dolmen_ joined,
d4l3k_ joined
21:12
dolmen_ is now known as dolmen
|
|||
pmurias | TimToady: where is :lang speced? | 21:13 | |
21:13
SubStack left,
kanru left,
bacek left,
xinming left,
lambdabot left
21:14
ingy joined,
d4l3k_ is now known as dalek
21:15
barney left,
mofino joined
|
|||
TimToady | nowhere yet | 21:16 | |
21:16
xinming joined
21:17
s1n joined,
SubStack joined,
kanru joined,
bacek joined,
lambdabot joined,
SubStack left,
SubStack joined,
Ara5n joined
21:18
pbuetow left
21:22
drbean_ joined,
spinclad_ joined
21:24
baest joined
21:25
rafl joined,
gbacon joined,
ilbot2 joined,
pasteling joined,
yves joined,
spinclad joined,
drbean_ left,
s1n left,
pbuetow_ left,
japhb left,
sri_work left
|
|||
pmurias | debian testing uses 5.10.0, and i was keeping a special 5.10.0 copy ;) | 21:25 | |
21:25
pasteling left
|
|||
pmurias | s/copy/local installation/ | 21:25 | |
21:26
spinclad left
21:27
pasteling joined,
drbean joined
21:29
pbuetow joined
21:31
drbean_ joined,
s1n joined,
pbuetow_ joined,
sri_work joined,
japhb joined,
drbean_ left,
sri_work left
21:32
gugod joined,
silug joined,
kcwu joined,
cls_bsd joined
|
|||
Auzon | perl6: my $a = sub {say "hi"}; $a.perl.say | 21:34 | |
p6eval | kp6 r20829: OUTPUT[syntax error at position 31, line 1 column 31:my $a = sub {say "hi"}; $a.perl.sa ^ HERE] | ||
..pugs: OUTPUT[\sub :(@_) "$_" := "Scalar" #<Scalar:0xb6656a8c> "@_" := "Array" #<Array:0xb6656ba4> "&?ROUTINE" := "Sub" #<Sub:0xb6604df4> "&?BLOCK" := "Sub" #<Sub:0xb6604df4> {"$_" := "Scalar" #<Scalar:0xb7270f34> "@_" | |||
..:= "Array" #<Array:0xb72d255c> ... | |||
..rakudo r28393: OUTPUT[Method 'perl' not found for invocant of class 'Closure'current instr.: '_block11' pc 59 (EVAL_12:27) | |||
..elf r20829: OUTPUT[CODE.new(!!!)] | |||
21:34
pengrate joined,
TimToady joined
|
|||
Auzon | I like Elf's output the best :) | 21:34 | |
moritz_ too | 21:35 | ||
21:35
iblechbot left
|
|||
TimToady | something strange happened to #perl6 there... | 21:39 | |
pugs_svnbot | r20830 | Auzon++ | [gsoc_spectest] crossing an item off of TASKS | ||
TimToady | pmurias: anyway, it's not specced anywhere yet | ||
21:40
pbuetow_ left
|
|||
moritz_ | TimToady: strange things, like productive development? | 21:42 | |
21:43
diakopter joined
21:44
yves left,
ilbot2 left,
rafl left,
gbacon left
|
|||
rakudo_svn | r28394 | pmichaud++ | [rakudo]: | 21:47 | |
r28394 | pmichaud++ | * Add .perl method for Range objects (RT#55860, dolmen++) | |||
r28394 | pmichaud++ | * Patch courtesy Olivier Mengu?\195?\169 <olivier.mengue at gmail.com> | |||
21:47
ChanServ sets mode: +o diakopter,
diakopter sets mode: +o TimToady
21:48
diakopter sets mode: -o diakopter
|
|||
dolmen | perl6: say 1..^4.perl | 21:49 | |
p6eval | kp6 r20830: OUTPUT[no method 'APPLY' in Class 'Int' at compiled/perl5-kp6-mp6/lib/KindaPerl6/Runtime/Perl5/MOP.pm line 345 | ||
..pugs: OUTPUT[123] | |||
..rakudo r28394: OUTPUT[123] | |||
..elf r20830: OUTPUT[syntax error at (eval 14) line 3, near "..^" at ./elf_f_faster line 4549] | |||
dolmen | perl6: say (1..^4).perl | ||
p6eval | kp6 r20830: OUTPUT[syntax error at position 4, line 1 column 4:say (1..^4).per ^ HERE] | ||
..pugs: OUTPUT[(1, 2, 3)] | |||
..rakudo r28394: OUTPUT[1..^4] | |||
..elf r20830: OUTPUT[syntax error at (eval 14) line 3, near "..^" at ./elf_f_faster line 4549] | |||
Auzon | Oh, Rakudo already rebuilt? neat. | ||
21:50
rafl joined,
gbacon joined,
ilbot2 joined,
yves joined
|
|||
Auzon | perl6: class Foo {method a {1}}; class Bar is Foo {method a {2}}; my $o = Bar.new; $o.+a.perl.say; | 21:52 | |
p6eval | kp6 r20830: OUTPUT[no method 'APPLY' in Class 'Bar' at compiled/perl5-kp6-mp6/lib/KindaPerl6/Runtime/Perl5/MOP.pm line 345 | ||
..pugs: OUTPUT[(2, 1)] | |||
..rakudo r28394: OUTPUT[Could not invoke method 'a' on invocant of type 'Bar'current instr.: 'die' pc 8844 (src/gen_builtins.pir:5754) | |||
..elf r20830: OUTPUT[Unknown rule: dotty:.+It needs to be added to ast_handlers. at ./elf_f_faster line 2693] | |||
Auzon | perl6: class Foo {method a {1,3}}; class Bar is Foo {method a {2,3}}; my $o = Bar.new; $o.+a.perl.say; | ||
p6eval | kp6 r20830: OUTPUT[error in Block at compiled/perl5-kp6-mp6/lib/KindaPerl6/Grammar/Sub.pm line 1051, <> line 1.*** Syntax Error in method 'Foo.' near pos=22] | ||
..pugs: OUTPUT[((2, 3), (1, 3))] | |||
..rakudo r28395: OUTPUT[Could not invoke method 'a' on invocant of type 'Bar'current instr.: 'die' pc 8844 (src/gen_builtins.pir:5754) | |||
..elf r20830: OUTPUT[Unknown rule: dotty:.+It needs to be added to ast_handlers. at ./elf_f_faster line 2693] | |||
21:52
s1n left,
japhb left
|
|||
pugs_svnbot | r20831 | pmurias++ | added a --vertical mode to STD5_dump_match | 21:52 | |
pmurias | TimToady: i added a --vertical mode to meet your request | ||
TimToady | cool | ||
pmurias | :) | 21:54 | |
21:59
s1n joined,
japhb joined
|
|||
rakudo_svn | r28397 | pmichaud++ | [rakudo]: | 21:59 | |
r28397 | pmichaud++ | * Add a .perl method to Code objects. | 22:00 | ||
dolmen | perl6: sub { }.perl | ||
p6eval | kp6 r20831: RESULT['{ ... }'] | ||
..pugs: RESULT["sub :(\@_) \"\$_\" := \"Scalar\" #<Scalar:0xb71f4f0c>\n \"\@_\" := \"Array\" #<Array:0xb71f4f04>\n \"\&?ROUTINE\" := \"Sub\" #<Sub:0xb6604cec>\n \"\&?BLOCK\" := \"Sub\" #<Sub:0xb6604cec> \{, , \"\$_\" := \"Scalar\" #<Scalar:0xb71d2d00>\n | |||
.. \"\@_\" := \"Array\" #<... | |||
..rakudo r28396: OUTPUT[Statement not terminated properly at line 1, near ".perl"current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82) | |||
..elf r20831: OUTPUT[Parse error in: /tmp/XLKl83IMU1panic at line 1 column 7 (pos 7): Statement not terminated properlyWHERE: sub { }.perlWHERE: /\<-- HERE STD_red/prelude.rb:98:in `panic' STD_red/std.rb:355:in `eat_terminator' STD_red/std.rb:269:in `block in statementlist' | |||
..STD_red/prelude.rb:153:in `call' STD_red/prelude.rb:153:in `starRUL... | 22:01 | ||
dolmen | rakudo: sub { 0 }.perl | ||
p6eval | rakudo r28396 OUTPUT[Statement not terminated properly at line 1, near ".perl"current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82) | ||
dolmen | rakudo: say (sub { 0 }).perl | ||
p6eval | rakudo r28396 OUTPUT[Method 'perl' not found for invocant of class 'Closure'current instr.: '_block11' pc 38 (EVAL_12:20) | ||
dolmen is too fast... | |||
rakudo: say (sub { 0 }).perl | |||
p6eval | rakudo r28396 OUTPUT[Method 'perl' not found for invocant of class 'Closure'current instr.: '_block11' pc 38 (EVAL_12:20) | ||
22:04
FurnaceBoy joined
22:05
pmurias left
|
|||
pugs_svnbot | r20832 | pmurias++ | [elf] emphesized removing distastefull deviations more, added the ugly/horid newp to the list | 22:05 | |
pmichaud | rakudo: say (sub { 0 }).perl | 22:06 | |
p6eval | rakudo r28396 OUTPUT[Method 'perl' not found for invocant of class 'Closure'current instr.: '_block11' pc 38 (EVAL_12:20) | ||
moritz_ | rakudo: say (sub { 0 }).perl | 22:08 | |
p6eval | rakudo r28397 OUTPUT[{ ... }] | ||
dolmen | perl6: say (3.WHAT).WHAT | 22:16 | |
p6eval | kp6 r20832: OUTPUT[Int] | ||
..pugs: OUTPUT[Int] | |||
..rakudo r28397: OUTPUT[Int] | |||
..elf r20832: OUTPUT[Str] | |||
dolmen | perl6: say ((3.WHAT).WHAT) | ||
p6eval | kp6 r20832: OUTPUT[Int] | ||
..pugs: OUTPUT[Int] | |||
..rakudo r28397: OUTPUT[Int] | |||
..elf r20832: OUTPUT[Str] | |||
dolmen | perl6: my Num $a = 5; | 22:20 | |
p6eval | kp6 r20832: RESULT[5] | ||
..pugs: RESULT[\5] | |||
..rakudo r28397: OUTPUT[Type check failedcurrent instr.: 'parrot;Perl6Object;infix:=' pc 59 (src/gen_builtins.pir:51) | |||
..elf r20832: RESULT[5] | |||
dolmen | my $a; say $a; | 22:23 | |
perl6: my $a; say $a; | |||
p6eval | kp6 r20832: OUTPUT[] | ||
..pugs: OUTPUT[] | |||
..rakudo r28397: OUTPUT[] | |||
..elf r20832: OUTPUT[Can't call method "Str" on an undefined value at ./elf_f_faster line 636. at ./elf_f_faster line 4549] | |||
dolmen | perl6: say undef.WHAT; | 22:27 | |
p6eval | kp6 r20832: OUTPUT[DISPATCH: calling WHAT on invalid object:$VAR1 = undef; at compiled/perl5-kp6-mp6/lib/KindaPerl6/Runtime/Perl5/MOP.pm line 128 main::DISPATCH('undef', 'WHAT') called at - line 11] | ||
..pugs: OUTPUT[Scalar] | |||
..rakudo r28397: OUTPUT[Failure] | |||
..elf r20832: OUTPUT[Undef] | |||
dolmen | Is it specified? | 22:28 | |
pmichaud | S02: The C<undef> function merely returns the most | 22:29 | |
generic C<Failure> object. | |||
22:43
[particle]ventus left
|
|||
dolmen | perl6: say (^3).perl; | 22:45 | |
p6eval | kp6 r20832: OUTPUT[syntax error at position 4, line 1 column 4:say (^3).perl ^ HERE] | ||
..pugs: OUTPUT[(0.0, 1.0, 2.0)] | |||
..rakudo r28397: OUTPUT[0..2] | |||
..elf r20832: OUTPUT[syntax error at (eval 14) line 3, near "(^" at ./elf_f_faster line 4549] | |||
dolmen | perl6: say (3^).perl; | ||
p6eval | kp6 r20832: OUTPUT[syntax error at position 4, line 1 column 4:say (3^).perl ^ HERE] | ||
..pugs: OUTPUT[***  Unexpected "." at /tmp/gB3soUTiyE line 1, column 9] | |||
..rakudo r28397: OUTPUT[Statement not terminated properly at line 1, near "^).perl;"current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82) | |||
..elf r20832: OUTPUT[Use of uninitialized value in concatenation (.) or string at ./elf_f_faster line 4186.syntax error at (eval 14) line 3, near "^ )" at ./elf_f_faster line 4549] | |||
dolmen | perl6: say (-3^).perl; | 22:46 | |
p6eval | kp6 r20832: OUTPUT[syntax error at position 4, line 1 column 4:say (-3^).perl ^ HERE] | ||
..pugs: OUTPUT[***  Unexpected "." at /tmp/YD1gZn6aJy line 1, column 10] | |||
..rakudo r28397: OUTPUT[Statement not terminated properly at line 1, near "^).perl;"current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82) | |||
..elf r20832: OUTPUT[Use of uninitialized value in concatenation (.) or string at ./elf_f_faster line 4186.syntax error at (eval 14) line 3, near "^ )" at ./elf_f_faster line 4549] | |||
dolmen | this is inconsistent | ||
say Int.HOW; | 22:48 | ||
perl6: say Int.HOW; | |||
p6eval | kp6 r20832: OUTPUT[Int] | ||
..pugs: OUTPUT[<obj:Class>] | |||
..rakudo r28398: OUTPUT[get_string() not implemented in class 'P6metaclass'current instr.: 'print' pc 9470 (src/gen_builtins.pir:6234) | |||
..elf r20832: OUTPUT[Can't locate object method "HOW" via package "Int" at (eval 14) line 3. at ./elf_f_faster line 4549] | |||
dolmen | perl6: say Int.HOW.WHAT; | ||
p6eval | kp6 r20832: OUTPUT[Class] | ||
..pugs: OUTPUT[Class] | |||
..rakudo r28398: OUTPUT[Int] | |||
..elf r20832: OUTPUT[Can't locate object method "HOW" via package "Int" at (eval 14) line 3. at ./elf_f_faster line 4549] | |||
22:50
jferrero joined
|
|||
dolmen | pmichaud, parrot crashes when you declare the same class 3 times in interactive mode | 23:01 | |
class Foo; | 23:02 | ||
pbuetow | class Bar; | 23:07 | |
23:19
sri_work joined
|
|||
dolmen | perl -e 'print "class Foo;\n" x 3;' | ../../parrot perl6.pbc | 23:24 | |
s1n | dolmen: yup: src/packfile.c:3654 | ||
dolmen | [oops; continuation 0xc99dd0 of type 21 is trying to jump from runloop 517 to runloop 96] | ||
Class 'Foo' already registered! | |||
Erreur de segmentation | |||
23:31
alester joined
|
|||
pmichaud | dolmen: yes, we can't redeclare an existing class. | 23:32 | |
(and we haven't implemented 'is also' yet) | |||
23:33
cognominal joined
|
|||
pmichaud | anyway, I tend to leave class/role/method issues for jonathan++ to handle. :-) | 23:33 | |
dolmen | pmichaud, but this crashes Parrot | ||
pmichaud | then I leave those to chromatic++ :-) | 23:34 | |
dolmen | ok | ||
23:35
stef_ joined
23:36
cognominal left,
cognominal joined
23:38
stef_ left
|
|||
dolmen | where can I get the source of the rakudo_svn bot? | 23:40 | |
23:41
cognominal_ left
23:43
cognominal left
23:52
bacek_ joined
|