perl6-projects.org/ | nopaste: sial.org/pbot/perl6 | evalbot: 'perl6: say 3;' | irclog: irc.pugscode.org/
Set by mncharity on 25 March 2009.
00:08 ispy_ joined 00:15 payload left 00:26 nihiliad joined 00:30 Kyosuke_Kiryu left
LylePerl Through a painful process of building different versions of parrot and trying to build rakudo 00:36
I've narrowed the problem down to parrot r38030, everything prior will build rakudo on vista 00:37
wayland LylePerl: Did you have a pastebin of the error somewhere? 00:38
LylePerl rt.perl.org/rt3/Ticket/Display.html?id=64694 00:44
00:45 ispy_1 joined, ispy_ left
LylePerl wayland: just updated the ticket with more info 00:47
arnsholt Are there any known issues in Rakudo with using double quoted strings in regexes instead of single quoted ones? 00:50
00:51 brunov left, drbean left 00:55 ispy_ joined, ispy_1 left 01:11 ispy_1 joined, ispy_ left 01:16 bacek_ joined 01:17 nbrown joined 01:18 meppl joined 01:27 cognominal joined
skids rakudo: sub a { grep { return 1; },1,2,3; return 2; }; a.say; 01:30
p6eval rakudo 0d5515: OUTPUT«Type check failed on return value␤current instr.: 'die' pc 17428 (src/builtins/control.pir:225)␤»
skids rakudo: sub a { grep { return 1; },1,2,3; }; a.say;
p6eval rakudo 0d5515: OUTPUT«Type check failed on return value␤current instr.: 'die' pc 17428 (src/builtins/control.pir:225)␤» 01:31
skids rakudo: sub a { grep { 1; },1,2,3; return 2; }; a.say;
p6eval rakudo 0d5515: OUTPUT«2␤»
s1n return from a grep? 01:32
skids I was hoping it would return from the sub. 01:37
s1n std: sub a { grep { return 1; },1,2,3; }; a.say; 01:39
p6eval std 26297: OUTPUT«ok 00:02 36m␤»
skids spec is pretty clear about statement blocks and standalone. 01:40
But grep is not a statement, so that's an anon block.
01:41 wknight8111 left 01:42 nekobaka joined
Tene skids: the proper way to do it is with &a.leave(1), iirc, but that's NYI. 01:44
I implemented it with exceptions, but pmichaud didn't like it. 01:45
skids Tene: thanks.
01:47 nekobaka left 01:50 ispy_1 left 01:51 ispy_ joined 01:58 alanhaggai joined
skids Hrm though re-reading S04 I think return should work there. 02:02
(specwise)
02:04 rhr_ joined
skids Or no, I guess it would be "passed outside the scope" into grep's scope. 02:06
02:16 kate21de1 left 02:17 rhr left 02:46 mikehh left 02:55 meppl left 03:03 [particle]1 joined 03:05 ispy_ left 03:06 dukeleto joined 03:07 cspencer left 03:24 FurnaceBoy joined 03:40 nsh left 03:46 orafu left, orafu joined 04:01 drbean joined 04:02 nbrown left, alanhaggai_ joined 04:04 dukeleto left 04:05 dukeleto joined 04:07 alanhaggai left, meppl joined, nihiliad left 04:08 alanhaggai_ is now known as alanhaggai 04:11 SamB left
skids rakudo: my @a; @a = for 1..3 { 1; }; @a.say 04:45
p6eval rakudo 0d5515: OUTPUT«Statement not terminated properly at line 1, near "{ 1; }; @a"␤␤current instr.: 'parrot;PGE;Util;die' pc 129 (runtime/parrot/library/PGE/Util.pir:85)␤»
skids rakudo: my @a; @a = gather for 1..3 { take 1; }; @a.say
p6eval rakudo 0d5515: OUTPUT«111␤»
skids rakudo: my @a; @a = list for 1..3 { 1; }; @a.say
p6eval rakudo 0d5515: OUTPUT«Statement not terminated properly at line 1, near "{ 1; }; @a"␤␤current instr.: 'parrot;PGE;Util;die' pc 129 (runtime/parrot/library/PGE/Util.pir:85)␤»
04:58 kate21de joined, FurnaceBoy left
eternaleye perl6: multi infix:<∈>( Any $item, Any @set --> Bool ) { return Bool::True if ( $item ~~ any(@set) ); }; say (3 ∈ [ 1, 2, 3 ]).perl 04:58
p6eval pugs: OUTPUT«Bool::True␤»
..rakudo 0d5515: OUTPUT«Malformed routine definition at line 1, near "infix:<\u2208>("␤␤current instr.: 'parrot;PGE;Util;die' pc 129 (runtime/parrot/library/PGE/Util.pir:85)␤»
..elf 26297: OUTPUT«Undefined subroutine &GLOBAL::any called at (eval 128) line 6.␤ at ./elf_h line 5881␤»
eternaleye Mathematicians will love Perl 6.
Tene eternaleye: I hear custom operators in rakudo are coming up soon. 04:59
eternaleye I look forward to it eagerly. 05:00
Imagine how many tests that'll make pass!
(I would look forward to it lazily, but Perl 6 is so exciting I can't stay in the proper paradigm)
05:04 veritos joined
eternaleye perl6: multi infix:<⊕>( Int $a, Int $b --> Int ) { return $a ^ $b ); }; say 3 ⊕ 7 05:04
p6eval elf 26297: OUTPUT«Parse error in: /tmp/KSpiGafPot␤panic at line 1 column 61 (pos 61): Missing right brace␤WHERE: $b --> Int ) { return $a ^ $b ); }; say 3 ⊕ 7␤WHERE: /\<-- HERE␤ STD_red/prelude.rb:99:in `panic'␤ STD_red/std.rb:255:in `_block_rest'␤ 05:05
..STD_red/std.rb:24...
..rakudo 0d5515: OUTPUT«Malformed routine definition at line 1, near "infix:<\u2295>("␤␤current instr.: 'parrot;PGE;Util;die' pc 129 (runtime/parrot/library/PGE/Util.pir:85)␤»
..pugs: OUTPUT«*** ␤ Unexpected ");"␤ expecting operator, ":", "," or "}"␤ at /tmp/GsOXABBsYv line 1, column 60␤»
eternaleye perl6: multi infix:<⊕>( Int $a, Int $b --> Int ) { return $a ^ $b ; }; say 3 ⊕ 7
p6eval elf 26297: OUTPUT«4␤»
..rakudo 0d5515: OUTPUT«Malformed routine definition at line 1, near "infix:<\u2295>("␤␤current instr.: 'parrot;PGE;Util;die' pc 129 (runtime/parrot/library/PGE/Util.pir:85)␤»
..pugs: OUTPUT«one(VInt 3,VInt 7)␤»
eternaleye perl6: multi infix:<⊕>( Int $a, Int $b --> Int ) { return $a ^ $b ; }; say (3 ⊕ 7)
p6eval elf 26297: OUTPUT«4␤»
..rakudo 0d5515: OUTPUT«Malformed routine definition at line 1, near "infix:<\u2295>("␤␤current instr.: 'parrot;PGE;Util;die' pc 129 (runtime/parrot/library/PGE/Util.pir:85)␤»
..pugs: OUTPUT«one(VInt 3,VInt 7)␤»
eternaleye perl6: multi infix:<⊕>( Int $a, Int $b --> Int ) { return $a ^ $b ; }; say (3 ⊕ 7).perl 05:06
p6eval elf 26297: OUTPUT«4␤»
..rakudo 0d5515: OUTPUT«Malformed routine definition at line 1, near "infix:<\u2295>("␤␤current instr.: 'parrot;PGE;Util;die' pc 129 (runtime/parrot/library/PGE/Util.pir:85)␤»
..pugs: OUTPUT«(3 ^ 7)␤»
eternaleye perl6: multi infix:<⊕>( Int $a, Int $b --> Int ) { return $a +^ $b ; }; say (3 ⊕ 7) 05:07
p6eval pugs: OUTPUT«4␤»
..elf 26297: OUTPUT«Undefined subroutine &GLOBAL::infix__43_94 called at (eval 125) line 6.␤ at ./elf_h line 5881␤»
..rakudo 0d5515: OUTPUT«Malformed routine definition at line 1, near "infix:<\u2295>("␤␤current instr.: 'parrot;PGE;Util;die' pc 129 (runtime/parrot/library/PGE/Util.pir:85)␤»
eternaleye perl5ism--
Heh, with the right sub/multi/operator declarations, most cryptographic algorithms could probably be copy/pasted symbols and all into valid code. 05:09
05:10 skids left 05:15 ejs joined
Tene that would be very interesting. 05:17
eternaleye perl6: multi infix:<⊂>( Any @subset, Any @superset --> Bool ) { return Bool::True if all(@subset) ~~ any(@superset); }; say ( [2, 3] ⊂ [1, 2, 3, 4] ).perl 05:21
p6eval pugs: OUTPUT«Bool::True␤»
..elf 26297: OUTPUT«Undefined subroutine &GLOBAL::all called at (eval 130) line 6.␤ at ./elf_h line 5881␤»
..rakudo 0d5515: OUTPUT«Malformed routine definition at line 1, near "infix:<\u2282>("␤␤current instr.: 'parrot;PGE;Util;die' pc 129 (runtime/parrot/library/PGE/Util.pir:85)␤»
eternaleye junctions++ 05:22
@karma junctions
lambdabot junctions has a karma of 1
05:22 DemoFreak joined 05:25 justatheory left 05:52 veritos left 06:01 masak joined 06:03 meppl left 06:12 cspencer joined
pmichaud Good morning 06:12
Tene hi pmichaud :) 06:13
masak good morning, Tene and pmichaud.
pmichaud masak: good journey, I hope ? 06:16
masak pmichaud: I slept like a baby. 06:18
woke up as we rolled into Stockholm.
pmichaud Excellent. 06:19
moritz_ good morning
jnthn Morning all 06:20
masak still slightly tired, though. but it might be due to five nights of six hours sleep or less.
moritz_, jnthn: morning!
(per night, not in toto)
jnthn pmichaud: What time you heading in to the venue? I has tram ticket for you...was thinking I'd set off in 20-25 minutes or so?
jnthn will brb 06:21
pmichaud jnthn: I'm in the lobby -- we can depart whenever you wish (no rush)
Tene morning jnthn 06:22
pmichaud actually, I may grab a small snack at breakfast
sjn good morning
pmichaud either way, I'll be in the lobby around the time to go
bbiab 06:26
cspencer howdy all 06:27
masak cspencer: o/ 06:28
jnthn pmichaud: great, will be down in a little bit 06:32
jnthn lols at %*ARGH 06:34
masak there will be modules. 06:36
06:36 iblechbot joined
moritz_ there are modules. 06:39
Tene what modules? hm?
masak moritz_: well, ok. specifically, modules that change things to the user's language preferences.
moritz_ I CAN HAZ LOLSIX? 06:40
literal thinks @*ARGV should be called @*ARGS if %*OPTS is preferred over %*ARGH
masak moritz_: now you're getting it. 06:41
pmichaud literal: it is called @*ARGS
literal oh
masak moritz_: Lingua::Perl6::Lolcode
or ::Lolcat, perhaps.
pmichaud Lingua::Perl6::CHEEZBURGER
I'm wondering why it's %*OPTS and not %*ARGS
I guess %*OPTS is a bit more readable 06:42
jnthn use Lingua::Perl6::LarryDIDNOTWANT # adds all the syntax people suggested and Larry said no to ;-)
06:42 azawawi joined
azawawi hi * 06:42
literal hello
masak Lingua::Perl6::GetOffMyLawn to make Perl 6 behave exactly like Perl 5. 06:43
moritz_ masak: 'use v5;' is a bit shorter ;-)
jnthn me -> hackathon 06:44
masak moritz_: good point. :)
literal moritz_: '' is even shorter (Perl 5 is still the default, right?)
moritz_ literal: only if the executable is called 'perl' - if it's called 'perl6', I don't think so 06:45
literal ok
azawawi any blog post on what happened in the hackathon?
pmichaud that's one of my morning hackathon tasks
at least to describe some of the decisions and events of yesterday
azawawi it would be also nice to have a picture with people names on it :) 06:46
Tene pmichaud: do you still plan to have user-defined ops soon? 06:47
06:47 alanhaggai_ joined
pmichaud Tene: yes. 06:47
Tene Thanks. Didn't want to be spreading lies. :)
pmichaud Probably not for April release, but certainly for May.
06:47 szabgab left
pmichaud Both jnthn++ and I worked on an update roadmap last night (which needs some cleaning up), and user-defined ops is important on several levels. 06:48
time to depart
bbiab
moritz_ htaaof
literal how long is this hackathon?
moritz_ (have the appropriate amount of fun)
literal or, the NPW rather 06:49
arnsholt NPW was thursday and friday last week. Hackathon from saturday to today
literal oh, I see
azawawi masak: any chance one could download your NPW slides? 06:50
masak azawawi: sure.
just go to the talk page.
or fetch them from here: masak.org/carl/npw2009-november/talk.pdf 06:51
azawawi fetches it... :) 06:54
masak: thank you, i will read it now. 06:59
Tene rakudo: 'say 1' ~~ /<Perl6::Grammar::TOP>/; say $/.perl; 07:02
p6eval rakudo 0d5515: OUTPUT«No result object␤current instr.: 'parrot;PCT;Grammar;ast' pc 86 (src/PCT/Grammar.pir:87)␤»
Matt-W Morning 07:03
07:03 alanhaggai left
masak Tene: plz submit rakudobug. 07:06
Tene I'm pretty sure I've seen it many times before
should already be filed...
masak checks
rakudo: module A { sub foo() { return 42 }; say foo }
p6eval rakudo 0d5515: OUTPUT«Null PMC access in find_method()␤current instr.: 'parrot;A;foo' pc 191 (EVAL_21:83)␤»
masak submits rakudobug
07:07 mikehh joined
masak Tene: no, I don't find it. I'll submit it just in case. 07:07
arnsholt rakudo: "foo" ~~ /"foo"/
p6eval rakudo 0d5515: OUTPUT«Statement not terminated properly at line 1, near "~~ /\"foo\"/"␤␤current instr.: 'parrot;PGE;Util;die' pc 129 (runtime/parrot/library/PGE/Util.pir:85)␤»
masak some heroic figure might show up eventually and sort out our rakudobugs...
till then, I'd rather submit too many than too few. 07:08
Tene nodnod
arnsholt Is that a known bug, double quotes not working in regexes?
masak arnsholt: aye.
arnsholt: not sure if double quotes are specced in S05.
arnsholt I think I saw something to that effect, but my reading comprehension at 4 in the morning or so last night may have been sub-par 07:09
07:09 baest joined
arnsholt S05, section Simplified lexical parsing of patterns: "Double quotes are also allowed, with the same interpolative semantics as the current language in which the regex is lexically embedded." 07:10
masak ah. 07:11
arnsholt: feel free to submits as a TODO rakudobug if you want.
arnsholt: I know pmichaud is currently updating PGE, so it might be a good time.
arnsholt 'k. rt.perl.org/rt3, right? 07:12
moritz_ arnsholt: [email@hidden.address]
you can't submit through the web interface 07:13
Matt-W masak: nice slides
masak Matt-W: thank you. :)
07:13 sephee left
arnsholt moritz_: Righties 07:14
Matt-W masak: I liked "Have the appropriate amount of fun" 07:15
masak std: use Dog:ver(1.2.1 | 1.3.4):auth(/:i jrandom/);
p6eval std 26297: OUTPUT«##### PARSE FAILED #####␤Number contains two decimal points (missing 'v' for version number?) at /tmp/NjH6lwgCul line 1:␤------> use Dog:ver(1.2.1 | 1.3.4):auth(/:i jrandom/);␤FAILED 00:02 35m␤»
masak Matt-W: not my line originally, of course. :) 07:16
Matt-W masak: And the slides themselves convey a great sense of excitement about what's happening
07:16 sephee joined
masak Matt-W: good. I am excited. 07:16
Matt-W: especially after NPW and the hackathon.
Matt-W :)
Was good then?
masak Matt-W: use.perl.org/~masak/journal/38832 07:17
07:19 projectorA joined
Matt-W masak: Was good :) 07:21
masak aye. 07:22
projectorA Good morning, hackaton!
pugs_svn r26298 | jnthn++ | Make S02 consistent with S14.
Matt-W If I ever develop the ability to teleport from place to place, I will make a point of attending a similar gathering in the future
masak waves at projectorA 07:23
jnthn projectorA: You're looking good.
masak Matt-W: I can already picture getting slightly annoyed at you blinking in and out of the room. :)
07:24 bacek_ left
masak Matt-W: muttering slightly, secretly wishing I'd have put in those twelve years of esoteric yoga training myself. 07:24
sjn so when should we have the morning meeting?
wayland masak: βαδ βου
sjn 10:00
wayland :) 07:25
sjn is 10:00 ok?
masak wayland: "Bad Boss"?
frettled azawawi: I'll have a look at the pictures I put out there and add names for those I know.
azawawi frettled: thx
masak wayland: oh wait, that's a nu. "Bad Bun"?
wayland Well, the "υ" is what you get if you type "y" on a greek-layout kbd 07:26
eiro greek letters have better render than latin one! (on my term at least)
masak frettled: I'm the one in glasses dancing the boogie woogie.
frettled just has to clear the abuse queue at work. Grrrr.
masak: kthx
masak :)
s/glasses/sunshades/
pmichaud 10:00 ack 07:27
masak eiro: greek letters rock.
wayland But actually, I'm playing with keyboard layouts, and wanted to test :)
07:27 szabgab joined
eiro masak, sure 07:27
masak, your proposition for code reviewing is for web purpose only ? 07:28
masak eiro: no, for any purpose.
eiro: but it helps to put it in blog format, I think.
wayland rakudo: $βοο = "καλλω"; print $βοο;
masak because then you address the general reader.
p6eval rakudo 0d5515: OUTPUT«Scope not found for PAST::Var '$βοο' in ␤current instr.: 'parrot;PCT;HLLCompiler;panic' pc 146 (src/PCT/HLLCompiler.pir:104)␤»
wayland rakudo: my $βοο = "καλλω"; print $βοο; 07:29
masak wayland: 'my'
p6eval rakudo 0d5515: OUTPUT«error:imcc:syntax error, unexpected USTRINGC, expecting STRINGC ('unicode:"$\u03b2\u03bf\u03bf"')␤ in file 'EVAL_17' line 44␤Lexical '$βοο' not found␤current instr.: '_block14' pc 71 (EVAL_17:47)␤»
masak submits rakudobug
wayland masak: Thanks :)
masak that's what I do. :)
eiro masak, you want me to blog my code ?
masak eiro: yes, please.
pmichaud that looks like a Parrot bug.
eiro masak, as you want 07:30
it would be done
masak pmichaud: do I submit a parrotbug instead?
pmichaud leave it as a rakudo bug -- I'll verify in Parrot and then link tickets if so.
wayland rakudo: my $boo = "καλλω"; print $boo;
p6eval rakudo 0d5515: OUTPUT«καλλω»
pmichaud oh wait
wayland rakudo: my $βοο = "call"; print $βοο;
p6eval rakudo 0d5515: OUTPUT«error:imcc:syntax error, unexpected USTRINGC, expecting STRINGC ('unicode:"$\u03b2\u03bf\u03bf"')␤ in file 'EVAL_17' line 44␤Lexical '$βοο' not found␤current instr.: '_block14' pc 71 (EVAL_17:47)␤»
pmichaud Parrot won't accept unicode lexicals?!
that's just.... wrong.
wayland Yeah, it's definitely the variable :) 07:31
pmichaud rakudo: my $boo = '$βοο'; say $boo
p6eval rakudo 0d5515: OUTPUT«$βοο␤»
pmichaud Yes, that must be the problem.
wayland rakudo: $þor = "will smite you for θις"; 07:32
p6eval rakudo 0d5515: OUTPUT«Scope not found for PAST::Var '$þor' in ␤current instr.: 'parrot;PCT;HLLCompiler;panic' pc 146 (src/PCT/HLLCompiler.pir:104)␤»
wayland rakudo: my$þor = "will smite you for θις";
p6eval rakudo 0d5515: OUTPUT«error:imcc:syntax error, unexpected USTRINGC, expecting STRINGC ('unicode:"$\x{fe}or"')␤ in file 'EVAL_14' line 44␤»
wayland rakudo: my $þor = "will smite you for θις";
p6eval rakudo 0d5515: OUTPUT«error:imcc:syntax error, unexpected USTRINGC, expecting STRINGC ('unicode:"$\x{fe}or"')␤ in file 'EVAL_14' line 44␤»
wayland (sorry :)
pmichaud Ugh, IMCC bug.
07:32 kate21de left
wayland Not even Latin-1 unicode 07:32
Well, it turns out my keyboard testing wasn't so useless after all :) 07:34
cspencer rakudo: multi foo(Int $x, Bool :$flag, *@vals) { say "bar 1" }; foo(1)
p6eval rakudo 0d5515: OUTPUT«bar 1␤»
cspencer rakudo: multi foo(Int $x, Bool :$flag, *@vals) { say "bar 1" }; foo(1, 2, 3, 4, 5)
p6eval rakudo 0d5515: OUTPUT«No applicable candidates found to dispatch to for 'foo'␤current instr.: '_block14' pc 99 (EVAL_16:54)␤»
pmichaud bug. 07:35
cspencer can anybody explain why dispatch fails on the second?
masak submits
cspencer rakudo: multi foo(Int $x, *@vals) { say "bar 1" }; foo(1, 2, 3, 4, 5)
p6eval rakudo 0d5515: OUTPUT«bar 1␤»
moritz_ shouldn't it complain that the slurpy args go before the named ones?
masak thought slurpies go last
cspencer multi foo(Int $x, *@vals, Bool :$flag) { say "bar 1" }; foo(1, 2, 3, 4)
cspencer thought so too.... 07:36
rakudo: say 1
p6eval rakudo 0d5515: OUTPUT«1␤»
cspencer i'm off for the evening, have a good day all :) 07:37
07:37 cspencer left
arnsholt There. Submitted the bug. I'd take a stab at looking at the code, but I couldn't find it, embarrasingly enough 07:38
masak arnsholt: don't worry. it'll be in there before you know it. :) 07:39
arnsholt That works as well I suppose. I'll just get cracking at finding something else that doesn't work then =) 07:41
masak arnsholt: a tip is to trawl through our 300 existing RT bugs.
arnsholt: some things there ought to be trivial to fix.
arnsholt True, true 07:42
07:42 alanhaggai_ is now known as alanhaggai 07:48 Eevee joined 07:58 wayland__ joined
pugs_svn r26299 | lwall++ | s/readline/get/ 08:02
dalek kudo: 71033ee | pmichaud++ | docs/spectest-progress.csv:
spectest-progress.csv update: 372 files, 10381 passing, 0 failing
08:04
moritz_ TimToady: so there's no context dwimmery anymore, lines() returns all lines (lazily), and get always returns one? 08:05
08:05 ejs left
TimToady correct 08:05
masak pmichaud: 0 failing? did the junctions failure get fixed already? 08:06
moritz_ masak: no, it was removed from spectest.data
TimToady++
masak oh, ok.
TimToady we might possibly add a limit to lines, such that .lines(1) means get 08:07
Matt-W TimToady: I think that would be useful 08:08
TimToady which is not the same as .lines[^1]
Matt-W what's .lines[^1]
TimToady which can theoritcally read all the lines and then return only the first one 08:09
Matt-W aaah
TimToady ^1 is the range 0..0
Matt-W so ^2 is 0..1?
TimToady so ^$n serves as a limit of $n
when subscripting
Matt-W Nice
TimToady but lines might read further ahead if it likes
so I think a hard limit as a parameter is probably in order 08:10
especially if the underlying interator supports it
such that we don't have to do get;get;get;get;get
Matt-W lines(5) would be nicer than that :)
TimToady if it were ruby it'd probably be 5.lines :)
masak TimToady: that one might as well return the lines of the file "5" as anything else. :) 08:12
08:15 wayland left
moritz_ ... of or the 5th file in the directory :-) 08:16
dalek kudo: 11352de | jnthn++ | build/gen_setting_pm.pl:
Fix gen_setting_pm.pl changes yesterday to also work on Win32.
08:19
kudo: 039f6d5 | jnthn++ | :
Merge branch 'master' of [email@hidden.address]
08:20 cls_bsd_ joined, cls_bsd left 08:23 meppl joined
pugs_svn r26300 | azawawi++ | [S:H:P6] Migrated to latest STD with problems... make test still fails 08:24
r26300 | azawawi++ | [S:H:P6] Updated to latest Moose
sjn Shall we have our morning meeting in the Cantina at 10:30? (need to finish before 11:00) 08:25
pugs_svn r26301 | krunen++ | added tests for $/.list and $/.hash 08:27
moritz_ TimToady: will $/.kv return the keys/values of both the named and positional captures? 08:29
08:29 [particle]2 joined
pugs_svn r26302 | lwall++ | [S32] add limit to lines 08:30
r26302 | lwall++ | [S07] refine get/iterator semantics; fix typos
TimToady moritz_: good question; can argue it both ways 08:32
moritz_ TimToady: what's the other way?
TimToady some might expect just the named 08:33
pmichaud (the question likely applies to Capture)
TimToady on the gripping hand, it might just fail
yes, same Q for captures
%$/.kv or @$/.kv would work, I guess 08:34
so we could just outlaw .kv on Capturesque things 08:38
pmichaud that's what I was expecting/thinking 08:39
moritz_ TimToady: we could also have .kv and .pairs do what .caps does now 08:40
08:44 [particle]1 left
pugs_svn r26303 | azawawi++ | [S:H:P6] Bumped version to 0.41 and released to CPAN :) 08:44
TimToady moritz_: that would tend to imply that a Capture remembers the original order, even if named and positional were intermixed 08:50
which might be useful, but I'm not sure that current implementations keep that info 08:51
08:51 ejs joined
moritz_ TimToady: right 08:52
azawawi TimToady: Hi, im seeing a CORE.pad.store in the current directory after executing the STD parser; shouldnt that be in the 'lex' folder?
TimToady CORE.pad changes much less frequently than lex/ 08:53
08:53 rblasch joined
TimToady eventually CORE.pad gets replaced with CORE.pm, which defines the standard setting, and compiles down to something like CORE.pad 08:54
masak TimToady: STD.pm doesn't parse the things mentioned in S11 yet. 08:55
TimToady which things?
masak version numbers, for example.
azawawi TimToady: yeah but we could tidy it up a little via STD->parse(temp_dir => 'some_temp_dir') 08:56
TimToady std: use Foo:ver<4.2>;
p6eval std 26303: OUTPUT«ok 00:02 34m␤»
masak std: use Dog:ver(1.2.1 | 1.3.4):auth(/:i jrandom/);
p6eval std 26303: OUTPUT«##### PARSE FAILED #####␤Number contains two decimal points (missing 'v' for version number?) at /tmp/VnJcN8TGSe line 1:␤------> use Dog:ver(1.2.1 | 1.3.4):auth(/:i jrandom/);␤FAILED 00:02 34m␤»
masak STD.pm and S11 on collision course. 08:57
moritz_ I changed one occurence of 1.2.1 in S12 to v1.2.1
TimToady they should all have a v
masak I'll fix it.
TimToady if we allow bare 1.2.1 then it's too easy to fall into the trap of thinking 1.2 works 08:58
so the S11 usage is a fossil
masak TimToady: and this goes for those within <> as well? 08:59
:ver<v1.2.1> ?
TimToady no
masak ok.
TimToady that would be redundant
masak but :ver(v1.2.1 | 1.3.4) ? :) 09:00
oops.
:ver(v1.2.1 | v1.3.4)
moritz_ yes
TimToady std: use Dog:ver(v1.2.1 | v1.3.4):auth(/:i jrandom/);
p6eval std 26303: OUTPUT«ok 00:02 35m␤»
masak :)
moritz_ is $obj but { (anonymous role) } specced? 09:02
or does it need to be $obj but role { ... } ?
09:04 payload joined
masak std: use Dog:ver(1.2 | v1.3.4); 09:05
p6eval std 26303: OUTPUT«ok 00:02 35m␤»
masak TimToady: would that dwim to v1.2?
09:05 blareg joined
blareg hi 09:05
masak blareg: hello. 09:06
blareg anyone thought about or worked on a c compiler for perl
with an ide
hi
masak blareg: re C compiler: I heard it mentioned a couple of days ago, making a C compiler on Parrot.
blareg s/for/in
really
masak blareg: don't think anyone's working on it. 09:07
blareg nice
whats parrot
masak blareg: it's a VM for dynamic languages.
blareg: the next big version of Perl, Perl 6, is running on top of it.
blareg: you're on the #perl6 channel. :)
blareg yeah 09:08
k thats nice
09:08 eiro is now known as toutfaux
pugs_svn r26304 | masak++ | [S11] added 'v' to version numbers within :ver() 09:09
r26304 | masak++ |
r26304 | masak++ | When the version numbers are within :ver<>, the 'v' can be omitted. But in
r26304 | masak++ | :ver() they shouldn't be, because they'd be parsed as decimal numbers.
blareg k thanks
09:09 blareg left 09:10 toutfaux is now known as eiro
wayland__ I wonder what impression he got :) 09:10
09:10 wayland__ is now known as wayland76, alanhaggai_ joined 09:11 cognominal left 09:16 alanhaggai left, alanhaggai_ is now known as alanhaggai, Kisu left 09:17 Kisu joined
mikehh rakudo (71033ee) builds on parrot r38222 - make test/make spectest PASS - Ubuntu Intrepid i386 09:17
pmichaud thanks. If anyone is running (32-bit) darwin, we apparently are having a build issue there. 09:18
omega I think I have 32-bit at home, can check later if you want? 09:19
pmichaud that would be great.
would like to have it resolved before Parrot release tomorrow.
(or be able to tell the Parrot folks about it so they can potentially hold the release) 09:20
omega at least I have a MBP with Core Duo, not Core 2 Duo
09:23 alanhaggai_ joined, alanhaggai left
pugs_svn r26305 | szabgab++ | Smart::Links move emit_pod to class, remove $line_anchor global 09:26
09:29 cognominal joined 09:30 ejs left
TimToady masak: can't dwim 1.2, since it could just as easily mean v1.20 09:31
masak TimToady: so what does it mean, since STD.pm parses it?
or is it syntactical but a runtime error? 09:32
TimToady STD.pm knows almost nothing about semantics
masak fair enough.
TimToady it would eventually be determined by whether you can smartmatch a version against Num
pugs_svn r26306 | szabgab++ | set svn:ignore
TimToady and since a version doesn't convert to Num (probably), it blows up
I suspect there will be some pressure to numify to the Perl 5 floating form, but I will resist :) 09:33
masak :)
yes, do that.
TimToady v1.2.3.p5float maybe 09:34
masak returns a Str?
oh, it can return a Num. nvm.
TimToady no, a Num 1.20_300 or some such 09:35
I forget the exact p5 format
masak aye.
pugs_svn r26307 | jnthn++ | [t/spec] skip a test that Rakudo has been passing for completely bogus reasons, and that is about to start parse-failing. 09:36
r26308 | jnthn++ | [t/spec] Skip a test that we todo'd before; got away with that when we ignored traits on variables. 09:40
09:41 cosimo joined
pugs_svn r26309 | szabgab++ | Smart::Links move the parse_pod 09:42
frettled TimToady: would that be a N􏿽xFAm or a N􏿽xFBm? ;) 09:44
moritz_ let's call it Nom :-) 09:45
frettled moritz_: I hope that's not an om nom nom joke. (woops) 09:47
09:48 PhatEddy joined
PhatEddy rakudo: class Task {} 09:49
p6eval rakudo 039f6d: ( no output )
PhatEddy if someone wants to close rt.perl.org/rt3/Public/Bug/Display.html?id=61128 dependent on closed tt 71 maybe they can ... 09:50
masak closes 09:51
PhatEddy++
09:51 c9s_ joined
masak & # lunch and midday nap 09:53
09:54 agentzh joined 10:00 alanhaggai_ is now known as alanhaggai 10:03 payload left 10:09 c9s_ is now known as c9s 10:20 fridim_ joined 10:25 SamB joined 10:29 agentzh left, agentzh joined 10:43 rhr_ left, kidd left, kidd joined, jiing joined, rhr joined 10:51 aff joined 10:58 payload joined 11:00 icwiener joined 11:12 payload left 11:17 payload joined 11:24 kst` joined 11:39 iblechbot left
szabgab moritz_, is File::Find::Rule installed on feather ? 11:43
moritz_ szabgab: yes 11:44
szabgab tx
moritz_ as a rule of thumb nearly all perl modules that are available as a .deb in Debian unstable are installed on feather :-)
szabgab actually I think I used to have an account on feather so I could have tried it but I don't remember the details 11:45
it is either gabor or szabgab 11:46
moritz_ there's a /home/gabor/ 11:47
szabgab could you reset the password or set a public key on it ? 11:48
aff Is there an equivalent of p5 Test::More::cmp_ok in rakudo's Test.pm? Or should I use "is" also for comparing numbers? 11:49
moritz_ szabgab: I don't remember my password, so I can only do it when I come back home
szabgab :-) 11:50
moritz_ i can log in thanks to ssh pubkeys, but not become root 11:51
baest aff: no cmp_ok, is is using eq
moritz_ hey, you're in luck, I had a screen open where I am root
pugs_svn r26310 | jnthn++ | [t/spec] Tests for of trait verb on variables (some unfudges, some new). 11:54
aff Reason for asking: p5 cmp_ok("2e4", "==", 2e4) says ok, but p6 is("2e4",2e4) says not ok.
dalek kudo: cb2b28b | jnthn++ | src/ (2 files):
First cut of traits on variables; impelment of trait verb so 'my $x of Int' and similar now work.
11:55
baest rakudo: use Test; ok("2e4" == 2e4) 11:56
p6eval rakudo 039f6d: ( no output )
baest hmmm, works for me
aff Ok thanks baest.
baest np
moritz_ rakudo: ok(2 == 2, "hi") 11:57
p6eval rakudo 039f6d: OUTPUT«Could not find non-existent sub ok␤current instr.: '_block14' pc 85 (EVAL_16:47)␤»
moritz_ rakudo: use Test; ok(2 == 2, "hi")
p6eval rakudo 039f6d: ( no output )
baest weird, use not working with the bot? 11:58
moritz_ sh: line 1: 1159 Done echo 1160 CPU time limit exceeded | ./perl6 /tmp/ZPo5Wcwq6h >> /tmp/Q6UmTJPSCF 2>&1
it probably doesn't precompile Test.pm
PhatEddy rakudo: &f 11:59
p6eval rakudo 039f6d: ( no output )
moritz_ rakudo: use Test; plan 1; ok(1, "foo")
p6eval rakudo 039f6d: OUTPUT«1..1␤ok 1 - foo␤»
PhatEddy rakudo: sub f {say "hi"}; my $x = &f; $x() 12:00
p6eval rakudo 039f6d: OUTPUT«hi␤»
baest rakudo: use Test; plan 1; ok("2e4" == 2e4)
PhatEddy rt.perl.org/rt3/Public/Bug/Display.html?id=63708 looks closeable ...
p6eval rakudo 039f6d: OUTPUT«1..1␤ok 1 - ␤»
baest wheee, moritz_++
moritz_ being root can be handy at times :-) 12:01
baest how do you precompile a pm? I've never done that 12:02
moritz_ make Test.pir :-)
and see what it does
baest nifty
on my machine, from 8.6s to 1s, very nice 12:03
12:05 nsh joined 12:07 alanhaggai_ joined 12:11 DanielC joined
pugs_svn r26311 | szabgab++ | Smart::Links replace File::Find by File::Find::Rule 12:12
PhatEddy Since there is no comment on closing RT 63708 I will note the p6eval output in my reply to the ticket unless some objection ... 12:15
moritz_ PhatEddy: I'm building rakudo locally now... I don't always trust p6eval :/ 12:17
12:17 cls_bsd_ is now known as cls_bsd 12:19 DanielC left
pugs_svn r26312 | szabgab++ | Smart::Links separate out get_pugs_dev 12:20
12:23 c9s_ joined, aff left, alanhaggai left 12:28 ruoso joined
pugs_svn r26313 | szabgab++ | Smart::Links move process_t_file to the class 12:28
12:29 ispy_ joined 12:34 alanhaggai_ left 12:35 c9s__ joined 12:38 gfldex joined, c9s left 12:42 payload1 joined 12:45 payload left 12:50 c9s_ left 13:00 iblechbot joined 13:01 pmurias joined 13:08 payload1 left 13:12 azawawi left
pugs_svn r26314 | szabgab++ | Smart::Links process_yml_file moved 13:19
13:33 azawawi joined 13:37 iblechbot left 13:38 skids joined
dalek kudo: 07bfffc | pmichaud++ | :
Merge branch 'master' of [email@hidden.address]
13:43
kudo: 480902e | pmichaud++ | src/ (2 files):
Updates to enable .hash to work on Match objects.
13:49 payload joined 13:51 PacoLinux joined
pugs_svn r26315 | szabgab++ | Smart::Links move html generation to class 13:51
13:52 azawawi left
pugs_svn r26316 | lwall++ | -e test is now :e 13:55
r26317 | szabgab++ | Smart::Links move some of the docs
13:56 LylePerl left
pugs_svn r26318 | szabgab++ | Smart::Links move global variable in sub 13:57
13:57 rindolf joined 13:58 PacoLinux left 14:00 rafl joined
moritz_ rakudo: rule w { . }; 'a' ~~ m/<w>/; for %($/).kv -> $k, $v {say $v.WHAT }; 14:02
p6eval rakudo 480902: OUTPUT«Str␤»
skids moritz_: did you get my reply on the Iterator.get ticket? RT isn't showing it. 14:03
moritz_ skids: sorry, I can't check it right now, I don't have access to all of my mailboxes here
skids Ah, well the short answer is: because nobady ever implemented prefix:<=> for Iterator. 14:04
moritz_ ok :-)
pugs_svn r26319 | lwall++ | [t] translate calls to prefix:<=> to get or lines 14:07
moritz_ pmichaud: your commit fixes RT #63904 (but we need tests) 14:08
(taken that ticket now) 14:10
14:10 PhatEddy left 14:11 alanhaggai joined
moritz_ pmichaud: I gave you RT #63616 instead :-) 14:12
omega pmichaud: did you want me to check anything specifically, or just that git pull origin master && perl Configer.pl --gen-parrot && gmake clean && gmake works? 14:14
14:14 nihiliad joined
pmichaud omega: just that they work. 14:15
14:15 rindolf left
omega pmichaud: ok :) 14:16
building new parrot now
moritz_ rakudo: say ('a' ~~ /\c[65]/) 14:19
p6eval rakudo 480902: OUTPUT«␤»
moritz_ rakudo: say ord('a')
p6eval rakudo 480902: OUTPUT«97␤»
krunen pmichaud: S05-match/capturing-contexts.t now passes, can be added to spectest
moritz_ rakudo: say ('a' ~~ /\c[95]/)
p6eval rakudo 480902: OUTPUT«␤»
14:20 alanhaggai_ joined, payload left
moritz_ rakudo: say ('a' ~~ /\c[97]/) 14:20
p6eval rakudo 480902: OUTPUT«a␤»
moritz_ rakudo: say ('a' ~~ /\C[97]/)
p6eval rakudo 480902: OUTPUT«␤»
moritz_ rakudo: say ('b' ~~ /\C[97]/)
p6eval rakudo 480902: OUTPUT«b␤»
skids okayyy.... 14:23
krunen pmichaud: sorry, it is already done :)
pmichaud krunen: okay, thanks :-)
14:23 alanhaggai_ left
masak moritz_: what does \C do? 14:23
oh, ah.
nvm. :)
pmichaud (any character not .... )
masak right.
the evals make sense now.
pugs_svn r26320 | szabgab++ | move the linksys datastructure to the class
masak pmichaud: re [perl #64880], the double-quotes-in-regexes, in case the interpolation semantics is nontrivial, it might be good to know that even noninterpolating double quotes in regexes would facilitate writing one-liners with perl6 -e '', where single quotes (AFAIK) cannot be used. 14:25
14:26 kane_ joined 14:27 c9s__ is now known as c9s
omega pmichaud: they build, and gmake test in rakudo directory passes.. 14:30
pmichaud: anything else I should try?
14:31 PacoLinux joined, rgs joined 14:37 frew|work joined 14:38 alanhaggai left 14:39 alanhaggai joined
krunen rakudo: rule ad { <alpha><digit> }; rule z { <ad> }; "a1 b2" ~~ /<z>+/; $/.perl.say 14:39
p6eval rakudo 480902: OUTPUT«StopIteration␤current instr.: 'parrot;Match;_block2786' pc 56467 (src/gen_setting.pir:10103)␤»
krunen it might be wrongish, but why the StopIteration? 14:40
baest masak: I did the double quotes at NPW, it interpolates \*, but not variables
masak: pmichaud has a patch somewhere in his mailbox :)
masak baest: awesome.
pmichaud yes, it's in my mailbox and in my queue of things to apply. 14:41
masak yes, I think variable interpolation would depend on getting that little HLLs-talking-to-each-other detail working :)
moritz_ krunen: it's a bug. 14:42
masak I haven't seen that bug in .perl before.
I know .perl has gotten worse since it moved out into the setting.
baest masak: yeah, pmichaud said that would be a pretty big change with scopes and that sort
masak aye.
moritz_ masak: that's because it used to give a Null PMC access before :/ 14:43
14:43 cosimo left
masak moritz_: ah. 14:43
krunen moritz_: yeah, .perl is !good
moritz_ krunen: patches welcome :-)
masak :)
setting++
moritz_ actually I did the Match.perl in Perl 6 because the pir one had stopped working
and I hit two major bugs 14:44
one of which pmichaud++ removed now
the other being that if you iterate over the named captures, they turn to Strings
maybe I can find out what's wrong now, and what's causing the StopIterator 14:45
masak moritz_++
pnu How can i determine the type context in which the return value of the method i'm inside of, will be evaluated? 14:46
masak pnu: like, List or Item?
moritz_ pnu: it's specced to be want(), but it's not implemented
and probably not really implementable
14:47 alester joined
masak pnu: I think the Perl 6 way will turn out to be returning an object that behaves the way you want when evaluated by the calling context as a List, an Item, etc. 14:47
pnu: that already works.
pnu hmh. Where is want() specd? 14:48
literal I think want() was killed 14:49
skids Rumor has it it was discussed at Oslo, so we'll just have to wait for someone to summarize what's going to happen with want()ish stuff.
Or should that be want()on?
moritz_ pnu: S04 or S06, I think
moritz_ sees a regression in t/spec/S03-operators/value_equivalence.t
pnu ok, I'm in Oslo so maybe i'll ask from the guys what's the story. 14:50
pugs_svn r26321 | szabgab++ | Smart::Links create process_test_files method 14:51
masak rakudo: sub foo() { return class { method Str() { return "OH HAI" }; method Num() { return 42 } } }; say ~foo; say +foo
jnthn DO NOT WANT()
p6eval rakudo 480902: OUTPUT«!ANON10␤Class !ANON10 already registered!␤␤current instr.: '!meta_create' pc 19666 (src/builtins/guts.pir:493)␤»
masak jnthn: is that the wrong syntax? :P
pmichaud Match.perl might need to be updated after the recent changes.
jnthn No, just my comment on want() ;-) 14:52
masak jnthn: no, I meant my eval above?
jnthn Ugh. Anonymous classes are...not quite so anonmous as would be good.
file masakbug 14:53
*rakudobug
masak files masakbug :)
rakudo: sub foo() { return 5 but role {} }; say foo; say "alive"
skids masak does need his own RT installation :-)
masak this one hangs. 14:54
masak files another one
p6eval rakudo 480902: ( no output )
skids masak: I didn't look to see if \(1,2,3).perl.say has an RT bug yet (recurses infinitely)
14:54 mofino joined
masak skids: I haven't submitted one, but feel free to scan RT before you submit. 14:55
skids But I think the "but" bug has one.
masak ok.
skids Any constant "but" does that.
masak ah.
too bad.
jnthn plz not another ticket for that one... 14:56
Also anonymous roles are NYI. 14:57
(NYS too... ;-))
pugs_svn r26322 | szabgab++ | Smart::Links inline the list_t_files sub
skids People want their "but False" API return values :-)
jnthn Yeah...need to fix up True and False first. 15:00
The enum-looking-thing that isn't an enum...
15:00 iblechbot joined
masak O RLY? I thought Bool was specced as an enum... 15:00
15:01 rafl left
moritz_ spec != implementation 15:01
masak OIC.
pnu masak: yea, that proxy object idea might work but requires some mental refactoring for me..
masak (mental refactoring)++ 15:02
skids wonders whether type-reactive proxy objects would be lazy.
masak skids: in a sense yes, since the type conversion happens in methods. 15:04
pnu in my case it would have to be lazy .. can't do my thing, really, until the evaluation type is known. 15:05
moritz_ closures++
masak continuations++
15:06 rafl joined
skids coroutines++ 15:06
(just to get in on it)
pugs_svn r26323 | szabgab++ | Smart::Links clean up some of the paramer passing and use methods instead 15:10
pnu .. it would be nice to have some ready-made abstraction for this proxy-object concept; that should be quite common use case if it is the way of the camel as masak suggested. Not sure if that's possible though.. 15:15
15:16 c9s left
moritz_ pnu: we discusses that this or last month on p6l, Damian Conway pointed us to his Contextual::Return (Perl 5) module 15:16
maybe that's good for some inspiration
skids There was talk of using a block full of where's in Contextual::Return style
moritz_ anyway, $value but { method Str { #code for Str generation here } }; should work, once rakudo supports that syntax 15:17
pnu moritz_: yes, that's exactly what i was thinking about.
moritz_ pnu: ah, good
masak Contextual::Return is this idea plus some syntactic sugar.
pnu contextuality++
15:17 alanhaggai left 15:18 exodist joined, c9s joined, justatheory joined 15:19 c9s left
masak context is the new black. 15:19
moritz_ rakudo: say WHAT(*-1) 15:22
p6eval rakudo 480902: OUTPUT«Use of uninitialized value␤Num␤»
15:22 c9s joined
moritz_ rakudo: say WHAT(*+1) 15:22
p6eval rakudo 480902: OUTPUT«Block␤»
pnu moritz_: where is this "$value but { method Str { ... } }" specd? (sorry, it's just so hard to search for "but" and/or remember the specs i've red until enough repetition) 15:26
mofino rakudo: say WOT 15:27
p6eval rakudo 480902: OUTPUT«Could not find non-existent sub WOT␤current instr.: '_block14' pc 53 (EVAL_16:37)␤»
mofino :(
15:27 abra joined
moritz_ pnu: S02 uses that syntax in an example 15:28
search for 'but {'
masak buubot: spack but\s\{
buubot masak: Sorry, I couldn't find any matches for: but\s\{
masak buubot: spack but { 15:29
buubot masak: S01-overview.pod:2 S02-bits.pod:97 S03-operators.pod:89 S04-control.pod:26 S05-regex.pod:54 S06-routines.pod:53 S07-iterators.pod:7 S09-data.pod:18 S10-packages.pod:5 S11-modules.pod:15 S12-objects.pod:103 S13-overloading.pod:3 S16-io.pod:3 S17-concurrency.pod:10 S19-commandline.pod:6 S22-package-format.pod:3 S26-documentation.pod:16 S29-functions.
masak oops.
moritz_ my Cat|Dog Fish $mitsy = new Fish but { Bool.pick ?? .does Cat !! .does Dog }; 15:30
that's the example
uhm
isn't 'new Fish' outlawed?
masak yes.
'new: Fish' would be OK.
moritz_ eek
TimToady no, new: Fish is incorrect 15:31
unless there is a new sub
in which case new Fish works too
er, actually the colon form never works
listops never take colon
masak oh, ok.
TimToady new Fish: works
masak ah, that's the one. 15:32
TimToady std: new: Num
p6eval std 26323: OUTPUT«ok 00:02 35m␤»
TimToady std: $x = new: Num
p6eval std 26323: OUTPUT«##### PARSE FAILED #####␤Illegal use of colon as invocant marker at /tmp/Sp9ZWV2rNE line 1:␤------> $x = new: Num␤Other potential difficulties:␤ Variable $x is not predeclared at /tmp/Sp9ZWV2rNE line 1:␤------> $x = new: Num␤FAILED 00:02 35m␤» 15:33
TimToady first one was a label...
masak sees great obfu potential 15:34
15:34 estrabd joined
pugs_svn r26324 | szabgab++ | Smart::Links start generating stats page with list of test files without links 15:36
baest TimToady: speaking of obfu, I'm worried that /<subrule>/ and /< stringliterallist>/ is somewhat similar and something especially people who tends to like whitespaces silly places would be hurt by 15:37
pnu amm.. is the indirect object syntax " meth $obj: 'param'; " still ok? It's NIY i guess.. tried to use it.
pmichaud NIY I think. 15:38
15:39 ejs joined
literal NIY? 15:39
jnthn I think NYI
Not Yet Impl
literal ok
masak well, Not Impl Yet, in this case. :)
NYI and NIY, except the latter sounds slightly more hopeful for some reason. 15:40
s/,/are equivalent,/ 15:41
15:41 abra left 15:43 abra joined
pnu ok, but anyway the butted object is the answer. 15:45
i just have to intantiate it from a live object, not class. 15:46
masak thinks so
15:48 Psyche^ joined
pnu it would be a creative use for the infinity negated with a vertical bar.. o|o in ASCII. :-) 15:49
TimToady and O|O is Not Object Oriented
pugs_svn r26325 | szabgab++ | Smart::Links add some more to the stats report 15:50
pnu yes, they're very disoriented with the bar.
frettled jnthn++ for a quick and concise explanation of what does and but do.
pnu who does but? 15:51
frettled But does not equal does, but but is more powerful than does. 15:52
In some ways. :)
masak gets a sudden image of an Elvis and Costello act with '.WHO', 'does' and 'but'
s/Elvis/Abbott/ 15:53
frettled .WHO does, but what?
pnu this is all HOW for me.
masak exactly.
15:53 ssm_ joined
ingy-here hi masak 15:54
masak ingy-here: oh hai
ingy-here sorry we failed to pair
masak no problem.
ingy-here i really thought you would be here today
masak ingy-here: my current plan: start doing what I want with YAML::XS, and then simply port over to Perl 6 when it's possible.
ingy-here: I might have been unclear on that point. 15:55
ingy-here maybe we can pair up later this week
masak ingy-here: gladly.
ingy-here we are same tz i think
masak aye.
ingy-here is stockholm summer time gmt+2? 15:56
masak it is.
ingy-here cool
france too :)
masak yeah, I'd really like to pair program Perl 6. I've done it once, and it's fun.
alors. 15:57
ingy-here awesome
frettled Denmark, Norway and Sweden = CEST
Just ignore that the north-eastern part of Norway is further east than Istanbul.
ingy-here we could get on voip and a shared screen session
i've done that all over the world
15:59 Patterner left, Psyche^ is now known as Patterner
masak ingy-here: we could try that. I'm slightly skeptical if voip brings significant advantages over IRC, but willing to test it. 16:00
pugs_svn r26326 | szabgab++ | Smart::Links move the gen_code_snippet to the class 16:01
r26327 | lwall++ | [decode-utf-chunks] found another prefix:<=> 16:02
r26328 | lwall++ | [STD] refactor PRE/POST to enable cleaner .ast processing 16:03
16:04 ejs left
pugs_svn r26329 | jnthn++ | [t/spec] Test for does at the point of declaration. 16:13
pnu frettled: about but and does, search S14 for 'Which is why there’s a "but" operator' .. if that's of any help. 16:14
dalek kudo: 5919b0c | jnthn++ | src/builtins/guts.pir:
Fix does at the point of declaration. (We're kinda cheating because we should really do it at compile time. This may result in shoes loudly being banged on tables.)
krunen pmichaud: github.com/krunen/xml/ 16:17
16:19 orafu left, orafu joined
pugs_svn r26330 | lwall++ | [CORE] add end, chdir, get, and lines 16:20
16:22 mofino left
frettled pnu: jnthn explained it with stringify, but yes, essentially the same. 16:23
16:36 masak left
pugs_svn r26331 | lwall++ | change readline to get or lines; test for line limit 16:37
moritz_ @ask masak do you know if there were any tests for RT #61128? 16:42
lambdabot Consider it noted.
16:43 PacoLinux_ joined 16:44 PacoLinux left, PacoLinux_ is now known as PacoLinux
Tene rakudo: 'say 1' ~~ /<Perl6::Grammar::TOP>/; say $/.hash.perl 16:46
p6eval rakudo 5919b0: OUTPUT«No result object␤current instr.: 'parrot;PCT;Grammar;ast' pc 86 (src/PCT/Grammar.pir:87)␤»
Tene pmichaud: you posted to twitter that .hash works on Match objects, but that doesn't seem to work... 16:47
moritz_ Tene: but I guess that's a different bug
16:48 ejs joined
Tene :( 16:48
I was wanting to add syntax hilighting to my Perl 6 pastebin. 16:49
pugs_svn r26332 | moritz++ | [t/spec] RT #61128, parrot class names leaking through 16:50
moritz_ Tene: a noble quest 16:53
16:56 FurnaceBoy joined
literal I did that with Bot::Pastebot and Text::VimColor some time ago 16:56
17:03 pyrimidine joined 17:10 rblasch left 17:11 Eimi joined 17:12 cdarroch joined
pmichaud Tene: we're still finding issues with .hash 17:12
I have fixes, but I'm delayed by big parrot bugs
PerlJam (big parrot bugs)-- 17:13
pmichaud (which I'm trying to take care of before we get much closer to release.)
17:14 kst` left, payload joined, kst joined
moritz_ @tell masak never mind, I just added one 17:19
lambdabot Consider it noted.
17:20 abra left 17:22 nsh- joined
frettled howcaniexplainthis.blogspot.com/200...hotos.html - I need two more IRC nicks, help please :) 17:23
17:24 abra joined
moritz_ is NN = baest? 17:26
and Martin something = mberends?
frettled The last one is correct, I think. 17:27
I just forgot. :=)
17:27 jdv79 joined
frettled so now NN is the last one, unless Gloria has a nick as well ;) 17:28
jdv79 anyone know, or can point me to a link about, why loop was chosen as the new name for a 3 arg for? 17:29
moritz_ I don't know it exactly, but 'for' was already taken
jnthn 'cus...it's a loop? ;-) 17:30
jdv79 my first guess was that it was done to replace foreach with for.
jnthn better to huffmanize iteration, since it's more common 17:31
moritz_ jdv79: in Perl 5 'for' and 'foreach' are synonyms
jdv79 i know all that. but doesn't loop, if you didn't know what it described already, sound like the most general type?
17:32 FurnaceBoy left
moritz_ and what would that imply? 17:32
TimToady well, it kind of is the most general type
jdv79 i guess out of three it is, true. 17:33
Eimi What is the infinite loop in Perl 6? (The one that only breaks with explicit "last"?)
TimToady loop {...}
Eimi That seems most general to me. 17:34
frettled generally, yes :)
jdv79 for some reason i thought loop would do some sort of MMD to effect a while/for/foreach.
i don't know why i thought that.
17:35 nsh left
Tene pmichaud: let me know if I can help with Parrot bugs. 17:38
17:43 [particle]2 is now known as [particle]-
pmichaud Tene: will do. Mostly it's that we've uncovered a few small bugs, and then while spectesting the small bugs we keep running into bigger bugs / issues that are showing up. :-( 17:45
frettled baest confirmed. 17:46
pugs_svn r26333 | pmichaud++ | [t/spec]: Some fudging until Rakudo can clean up I/O a bit. 18:04
18:04 ezeki3l joined
ezeki3l hi guis 18:04
18:04 barney joined
ezeki3l i heard Larry Wall was on freenub 18:04
is it true?
skids we ain't tellin. 18:05
:-)
ezeki3l uh common guis
skids In that case, it's more fun when people don't realize who they are talking to. :-) 18:06
But I'm sure if you dig...
pugs_svn r26334 | szabgab++ | Smart::Links improve the stats page
frettled Time to get packing. 18:08
skids Make sure to turn the hotel lights off :-)
18:10 ejs left
Tene It took me a decent while to figure out who he was. 18:10
skids Did you manage to embarrass yourself in the process? 18:11
18:11 ssm_ left
Tene Not that I recall. Yes, he's around here. He goes by the nick 'TimToady'. 18:12
pugs_svn r26335 | szabgab++ | Smart::Links moving process_syn to the module
18:13 szabgab left
ezeki3l man, i just wana tell him how awesome he is 18:18
and that he's such an inspiration to the rest of us, nerds
18:27 nsh- left 18:33 ejs joined, piper69 joined
piper69 howdy folks 18:33
is Larry here please
18:33 rindolf joined
rindolf Hi all. 18:33
TimToady: here?
18:33 rewt joined 18:34 sproingie joined
piper69 rindolf: hi 18:35
:)
18:35 abra left
rindolf piper69: hi. 18:35
piper69 so i guess Mr. Larry is not here 18:36
rindolf piper69: well, he spoke (or connected) about an hour ago.
18:38 natschil joined
piper69 i just can't believe no one read this before ! 18:40
18:44 ejs left
diakopter piper69: no one read what before 18:44
piper69 please excuse my ignorance, but i read somewere in a perl book, the Larry Wall used a single line bash script to generate the name "perl"? anyone knows what was that command! i can't find the book anywhere! 18:45
[particle]- echo "perl"
:P
18:45 Kisu left
piper69 not that :) 18:46
it was something that helped Mr. larry to generate the name
skids notes the qwerty positions of p e r and l. Hrm. 18:48
sbp “Perl was originally named "Pearl," after the Parable of the Pearl from the Gospel of Matthew. Larry Wall wanted to give the language a short name with positive connotations; he claims that he considered (and rejected) every three- and four-letter word in the dictionary.” — en.wikipedia.org/wiki/Perl#Name 18:49
sometimes when I want to name something I'll choose a bunch of letters that I like and do something similar, but it never quite works out because the wordlist that I use is too inclusive and has all kinds of weird random entries like xoae. should probably construct a better wordlist 18:50
I did make a wordlist once by downloading Wikipedia, the whole english version, and extracting every word used therein. but of course that wordlist is even worse... 18:51
skids loves loves loves aiksaurus :-)
18:51 ejs joined
piper69 sometimes when I want to name something I'll choose a bunch of letters that I like and do something similar, 18:51
that is getting me closer 18:52
sbp well I just do: $ egrep '^[aeiouwy]{3,4}$' words, or whatever
rewt skids, is that anything like thesaurus? 18:53
skids It is a commandline thesaurus, yes.
Though it could use more data files.
rewt ah
skids I like to find off-use definitions to justify my abuse of the english language. :-) 18:55
piper69 sbp: can you please explaing that command for me
sbp piper69: egrep is just grep but it uses an extended regular expression language. there's also pgrep on some systems if you want to use pcre (perl comatible regular expressions) 18:56
the first argument is the pattern, the second argument is the filename. see man egrep
sbp searches the web for more perl-naming details, and finds: “As a result of my kitten naming contest, the kittens are named Perl and Java.” — scary! 18:57
meppl good night
skids Should just be happy they didn't both end up named Colbert
sbp 'night meppl
heh
meppl ;) 18:59
19:00 meppl left
sbp piper69: sorry, I seriously can't find anything like what you describe 19:01
piper69: www.linuxjournal.com/article/3394 has an interview with Larry wherein he describes how he named the langauge though; perhaps that might interest you 19:02
19:03 sri_kraih joined
sbp funny how he looked at every three and four letter word, and then ended up choosing a five letter word, and *then* ended up cutting a letter out of it, though 19:03
Tene That sounds pretty appropriate for LW. 19:04
sbp he should've started with "pearl" and cut a letter out per version 19:05
so that now we'd be using nothing as the title; very compact
and perl7 would be made out of negative text
skids interactive, in fact
Tene Hmm... I'm not sure if you can have zero-length files on linux... 19:06
bash and touch aren't happy trying to create them.
ruoso zero-length file names you mean
Tene filenames, even
yes
sbp try creating one using zero width space? 19:07
.u zero width
skids Just build it into the OS kernel and present a commandline :-)
sbp \xe2\x80\x8b
Tene: can I bring phenny in, or are we bot-lite here? 19:08
Tene There are already several bots
phenny isn't noisy
Go ahead, IMO
sbp she is made from python though
19:09 phenny joined
sbp .u zero width 19:09
phenny U+200B ZERO WIDTH SPACE (​)
Tene I *was* thinking of bringing in a Perl 6 bot soon.
sbp yes, I've been thinking towards that direction too
though I'm kinda looking forward to not having to use perl5 modules for everything 19:10
sbp did a little cpan6 research the other day
doesn't look like anything concrete's decided on that front
Tene There have been many proposals, some of them good, but nobody interested in implementing them yet
skids Can phenny run on Pynie?
sbp which surprised me; I thought work on that might progress at the same kind of pace as perl6, but it doesn't really seem to have started yet. or have I just missed things?
ah
piper69 sbp: well here is my question, how did Mr.Larry look the whole dictionary for 3 or 4 letter? 19:11
sbp skids: unsure, haven't tried. don't see why not though
piper69: probably just $ egrep '[a-z]{3,4}' words
none of your fancy <alpha> back in them days, dagnabbit 19:12
Tene piper69: or just an iteration over all possible 4-letter words.
skids: unlikely. Might be fun to investigate, though.
sbp well he did say dictionary though, so it must be all the valid English words 19:13
skids Maybe he touched files with the names of all words and then did bash for i in ??? ???? :-) 19:14
19:14 japhb joined, japhb left
Tene I have secret plans of porting POE or implementing some other socket framework on Parrot real soon now. 19:15
19:15 japhb joined
sbp not so secret now 19:15
wonder how Low and Hanging that fruit is
Tene I've got an HTTP::Daemon in Perl 6.
sbp in pure perl6? 19:16
Tene pleasedieinafire.net:2080/
literal lovely domain
Tene Well, it has a couple of pieces of inline PIR, but those can be replaced now that rakudo has socket support
sbp wait, it must use perl5 networking modules though right?
Tene No.
sbp woah, rakudo has socket support?!
Tene rakudo can't use perl 5 anything
Yes.
sbp why didn't you tell me, man! I've been sitting here like an idiot... 19:17
Tene Here's the code for that pastebin github.com/masak/web/blob/7af63c5a2...pipasta.pl
sbp hmm, rakudo.org/node/34 says it's still coming
Tene you were waiting for socket support?
19:17 sri_kraih_ left
sbp that's from 25th March 19:17
19:17 ispy_ left
Tene sbp: it's in the past few days 19:17
sbp ah! cool
piper69 sbp: the "egrep '[a-z]{3,4}' words" will acualy look in the file and pick the 3 or 4 letters words. but how can you assign it the letters
Tene was added at some conference everyone's been at last weekend 19:18
sbp well, it might get me to experiment with sockety stuff
skids you didn't lose much time and I think there's still some churn to come in the socket area.
sbp piper69: hmm?
piper69 eg l p r e and it will list all possible combination
19:18 ejs left
Tene piper69: egrep '[lpre]{3,4}' /usr/share/dict/words 19:18
piper69 prel, plre, perl or erlp something like that
Tene sbp: I'd love to collaborate on this with you 19:20
pmurias ruoso: hi
ruoso hi pmurias
sbp Tene: on what? me doing sockety stuff? 19:21
pmurias it looks like my GSoC project got accepted :)
ruoso yes... it looks so... congrats
sbp defined @*ARGS[0] && @*ARGS[0] eq '--request' ?? request() !! daemon();
— is there no operator which is to && what // is to ||?
Tene not sure. 19:22
19:22 rindolf left
sbp if not, we can petition for one 19:22
we'd even have a pretty catchy slogan:
I demand a slanty ampersand! 19:23
ruoso pmurias, I'm a bit lost in where we are in re-smop
pmurias looking into my working copy... 19:24
sbp finds github.com/rakudo/rakudo/commit/9fd...8c7159dc20
19:24 amoc joined
sbp “Add IO::Socket initial implementation. Patch courtesy of Cosimo Streppone.” 19:24
Tene Yeah. 19:25
sbp looks straightforward enough
Tene I just used some inline pir to do 'new "Socket"' etc.
but that's a bit nicer
19:25 justatheory left
skids does !// work? 19:27
sbp Tene: where did you get the HTTP::Daemon you used?
19:27 natschil left
pugs_svn r26336 | pmurias++ | [re-smop] loading an empty setting works with garbadge collection disabled 19:27
sbp rakudo: say notdefined // "defined!"; 19:28
p6eval rakudo 5919b0: OUTPUT«Could not find non-existent sub notdefined␤current instr.: '_block14' pc 53 (EVAL_16:37)␤»
sbp that ain't no sub
rakudo: my $x = notdefined // "defined!"; say $x;
p6eval rakudo 5919b0: OUTPUT«Could not find non-existent sub notdefined␤current instr.: '_block14' pc 56 (EVAL_17:39)␤»
sbp oh sheesh. still thinking in python
rakudo: say $notdefined // "defined!"; 19:29
19:29 go|dfish joined
p6eval rakudo 5919b0: OUTPUT«Scope not found for PAST::Var '$notdefined' in ␤current instr.: 'parrot;PCT;HLLCompiler;panic' pc 146 (src/PCT/HLLCompiler.pir:104)␤» 19:29
skids rakudo: my $a; $a // "defined".say
p6eval rakudo 5919b0: OUTPUT«defined␤»
sbp thanks, heh
rakudo: my $a; $a !// "defined".say 19:30
rewt skids, i doubt it
pmurias ruoso: re-smop is begining to run Perl 6 code, the is a ref counting bug i haven't looked into yet which forces turning refcouting of
p6eval rakudo 5919b0: OUTPUT«Statement not terminated properly at line 1, near "!// \"defin"␤␤current instr.: 'parrot;PGE;Util;die' pc 129 (runtime/parrot/library/PGE/Util.pir:85)␤»
Tene sbp: I think masak copied it from the perl6-examples repo
sbp Tene: it may be some time before I get anywhere near doing sane things in perl6... :-)
ah right, I did see the perl6-examples version
ruoso pmurias, maybe it's related to the RI not being an RI of itself... 19:31
19:31 abra joined, LylePerl joined
[particle]- tpf gsoc accepted projects list here: socghop.appspot.com/org/home/google...9/dukeleto 19:31
pmurias ruoso: a new RI is usually an instant segfault 19:33
ruoso pmurias, that's probably because a RIless object is getting into a RELEASE or REFERENCE 19:34
that was why we had the "an object without an RI is an RI of itself
pmurias ruoso: is there a valid case when an object refcount drop beneath zero? 19:35
Tene sbp: but yes, it was pretty exciting to see that all running on Perl 6.
pmurias s/beneath/below
ruoso pmurias, not really... in nagc, iirc, it even sets to 999 after it reaches 0 19:36
but why do you ask?
19:36 [particle]- left
pmurias ruoso: i made nagc print out a warnings then 19:37
19:37 piper69 left
ruoso pmurias, 19:38
sbp Tene: yeah, and November of course
Tene I wasn't really involved with November. It's pretty nice, though, yes.
pmurias s/warnings/warning/
ruoso pmurias, why did you comment the ref_cnt = 999
Tene mod_rakudo on mod_parrot is also nice, for web stuff.
sbp mod_rakudo comes as part of the mod_parrot package? 19:40
19:40 pyrimidine left
sbp I can find the latter easy enough, but not much on mod_rakudo 19:40
Tene I think so. I'm not really sure how it's packaged.
I've only ever looked at mod_parrot from svn
it's in the mod_parrot svn repo, if that's what you're asking. 19:41
19:41 pyrimidine joined
pmurias ruoso: maybe a big negative value would be better 19:42
ruoso why?
sbp oh, the docs list it as mod_perl6 still:
[[[
mod_perl6 (Rakudo)
]]] — www.parrot.org/mod_parrot
but wasn't that supposed to be changed?
did it not get changed? 19:43
Tene ah
ruoso pmurias, I mean... what is the problem with using an arbitrary big number? the object is going to be destroyed anyway... we're just making sure it doesn't get destroyed again...
sbp ah, no: 19:44
20:23 <diakopter> jhorwitz: was mod_perl6 going to become mod_rakudo?
19:44 [particle]1 joined
sbp 20:24 <jhorwitz> diakopter: no, i think i'm keeping it mod_perl6 until there's a competing project.  my goal is for it to be the "official" mod_perl6. 19:44
pmurias ruoso: wouldn't just setting it to 1 do the same thing?
sbp irclog.perlgeek.de/perl6/2008-06-20
Tene sbp: I don't remember if it was supposed to be changing. mod-parrot is pretty much a single-person project.
and jhorwitz hasn't had much time for it in a while
19:45 [particle]1 is now known as [particle]-
sbp yeah, I'd only seen diakopter's question in results snippets 19:45
Tene ah
sbp and just assumed the answer would have been "yes"... :-)
19:45 linuxer joined
ruoso pmurias, theoretically, yes... but it gives the benefit of somehow showing that this object is being destroyed... 19:45
linuxer a 19:46
pugs_svn r26337 | pmurias++ | [re-smop] object don't get destroyed twice
19:48 abra left, linuxer left
pugs_svn r26338 | ruoso++ | [re-smop] the LOwlevel STate machine first sketches... 19:50
ruoso pmurias, I started the lowlevel state machine thingy... I think it will be helpfull when the RI DSL knows how to handle signatures 19:51
19:53 cosimo joined
pmurias ruoso: seems sensible 19:55
ruoso pmurias, mildew -o is not working
pmurias fixing... 19:56
19:58 natschil joined 20:00 pyrimidine left
pugs_svn r26339 | pmurias++ | [re-mildew] fixed -o 20:02
20:02 pyrimidine joined, pyrimidine_ joined, pyrimidine_ left
cosimo rakudo: say $*PERL 20:03
p6eval rakudo 5919b0: OUTPUT«Use of uninitialized value␤␤»
cosimo is there a place where to report successful rakudo builds?
skids cosimo: IIRC it's something to do with "make smoke" 20:06
though that might be only a Parrot thing. 20:08
cosimo anyway, rakudo r38208 builds and tests fine for me on Vista 32 bits 20:10
at least is in the irc logs now :)
20:14 cosimo left, cosimo joined 20:15 cosimo left, barney left 20:19 natschil left, pyrimidine left 20:32 ruoso left 20:33 Gothmog_ joined 20:34 pmurias left 21:05 icwiener left, justatheory joined 21:09 icwiener joined 21:12 nsh joined, ascent_ joined 21:15 ascent_ left, ascent_ joined 21:17 ascent_ left 21:18 ascent_ joined 21:22 ezeki3l is now known as failfish, failfish is now known as ezeki3l, iblechbot left 21:23 go|dfish is now known as failfish 21:40 donaldh joined 21:50 [particle]- left 21:54 AzureStone left 21:55 AzureStone joined, skids left 21:57 [particle]1 joined, amoc left
dalek kudo: 2703c20 | (Moritz Lenz)++ | src/ (2 files):
rename s/readline/get/g, and remove prefix:<=>

it does make three of the four failing spectests pass again.
22:08
pugs_svn r26340 | moritz++ | [t/spec] unfudge io.t for rakudo, and test the method form of .lines for now 22:09
dalek kudo: ae5e785 | (Moritz Lenz)++ | src/setting/IO.pm:
implement limit to IO.lines
22:12
22:13 presh left, sproingie left, ezeki3l left
frettled Okidoki, back from the restaurant, so I expect you'll see the ardent hackers becoming active within the next few minutes, unless they all got lost in the bat cave. 22:14
22:14 mj41_ joined, Matt-W left 22:15 Whiteknight joined, donaldh1 joined 22:16 donaldh left, sjn joined
frettled sjn: home already? :) 22:17
22:19 moritz_ joined, sproingie joined, ezeki3l joined, presh joined, awwaiid joined, antiphase joined, bigpresh joined, r0bby joined, kolibrie joined, irc.freenode.net sets mode: +o moritz_ 22:21 payload left 22:24 Matt-W joined
sjn frettled: yep 22:25
22:28 jferrero joined 22:31 icwiener left
moritz_ somehow io_in_for_loops.t is still borked 22:33
or maybe the fudging is borked
but that file seems so *wrong*
it depends on IO working properly to get the right plan 22:34
but it tests IO
22:38 ZuLuuuuuu joined, minazo joined
[particle]1 that's fragile. 22:41
22:41 [particle]1 is now known as [particle]-, nihiliad left
moritz_ yes 22:43
pugs_svn r26341 | moritz++ | [t/spec] fix io_in_for_loops.t for now. 22:44
r26341 | moritz++ |
r26341 | moritz++ | Since TimToady++ changed 'for =$fh' to 'for get $fh' the plan also changed,
r26341 | moritz++ | since the test file is sufficiently broken to assume that the .lines and .get
r26341 | moritz++ | etc. always return the right line count.
r26342 | moritz++ | [t/spec] test that methods Num and Str are used for typecasting 22:52
22:53 ispy_ joined
dalek kudo: 49e00b4 | git++ | src/classes/Object.pir:
Added "get_number" method to Object.pir to allow numification/intification of Perl 6 classes.
22:54
kudo: cea34fd | (Moritz Lenz)++ | t/spectest.data:
we pass S13-type-casting/methods.t
23:04 skids joined 23:05 donaldh1 left
literal hm, I see I got accepted for gsoc, yay 23:05
dukeleto congrats 23:24
skids rakudo: my $a; $a = do { for 1,2,3 { 1;} }; $a.perl.say 23:26
p6eval rakudo cea34f: OUTPUT«Perl6Iterator.new()␤»
skids rakudo: my $a; $a = do { eager for 1,2,3 { 1;} }; $a.perl.say
p6eval rakudo cea34f: OUTPUT«Statement not terminated properly at line 1, near "{ 1;} }; $"␤␤current instr.: 'parrot;PGE;Util;die' pc 129 (runtime/parrot/library/PGE/Util.pir:85)␤»
skids rakudo: my $a; $a = eager do { for 1,2,3 { 1;} }; $a.perl.say 23:27
p6eval rakudo cea34f: OUTPUT«Could not find non-existent sub eager␤current instr.: '_block14' pc 77 (EVAL_18:50)␤»
23:28 nbrown joined
skids std: my @a; @a = for 1..3 { 1;}; @a.perl.say 23:31
p6eval std 26342: OUTPUT«##### PARSE FAILED #####␤for() interpreted as function call at line 1 ; please use whitespace instead of parens␤Unexpected block in infix position (two terms in a row) at /tmp/y9MGrqSVJF line 1:␤------> my @a; @a = for 1..3 { 1;}; @a.perl.say␤ expecting any of:␤
.. ...
23:37 Limbic_Region joined
skids std: my @a; @a <== for 1..3 { 1;}; @a.perl.say 23:40
p6eval std 26342: OUTPUT«ok 00:02 35m␤»
skids std: my @a; @a = do { for 1..3 { 1;} }; @a.perl.say 23:41
p6eval std 26342: OUTPUT«ok 00:02 35m␤»
23:41 exodist left
skids std: my @a; @a = loop { 1;}; @a.perl.say 23:41
p6eval std 26342: OUTPUT«Undeclared routine:␤ loop used at 1 ␤ok 00:02 35m␤»
skids std: my @a; @a = while 1 { 1;}; @a.perl.say 23:42
p6eval std 26342: OUTPUT«##### PARSE FAILED #####␤while() interpreted as function call at line 1 ; please use whitespace instead of parens␤Unexpected block in infix position (two terms in a row) at /tmp/BHHbmHr1Nc line 1:␤------> my @a; @a = while 1 { 1;}; @a.perl.say␤ expecting any
..of:␤...
23:48 bigpresh left