Parrot 0.6.3 "Beautiful Parrot" Released | parrotcode.org/ | 5/649/88 new/open/stalled tix | logged in irclog.perlgeek.de/parrot/today
Set by moderator on 17 June 2008.
00:00 toddr joined 00:07 Whiteknight joined 00:09 AndyA joined 00:10 davidfetter joined 00:18 japhb joined
DietCoke works on binary search, version 0.2 00:27
sadly, it's blocking on a bug in Iterator atm. =-)
00:48 Whiteknight joined 01:09 Auzon joined 01:38 Whiteknight joined 01:47 Zaba_ joined 02:09 kid51 joined 02:18 cotto_yapc joined
DietCoke grumble. Perl::Critic latest doesn't like how we're using it. 02:19
02:31 tetragon joined 02:42 Zaba joined 02:44 kid51 joined, kid51 left, kid51 joined
kid51 DietCoke: Yes. I just upgraded and got a message to the effect that there were no standards in force. 02:44
nopaste "kid51" at 71.247.46.29 pasted "Perl::Critic our $VERSION = '1.086': "There are no enabled policies"" (14 lines) at nopaste.snit.ch/13332 02:48
02:51 Andy joined
kid51 message => 'There are no enabled policies.', 02:52
purl Sorry, I've never seen => before.
DietCoke yup. sent a list to the P::C mailing list with a diagnosis and asking what they'd recommend. 02:54
I suspect "completely redo your test this way" will be the answer.
just hoping they can save me some effort on the rewrite.
gnite, jim 02:55
-> zzz
dalek r28588 | pmichaud++ | trunk:
: [rakudo]:
: * Update tools/test_summary.pl to summarize skipped tests.
diff: www.parrotvm.org/svn/parrot/revision?rev=28588
r28589 | chromatic++ | trunk: 03:11
: [IMCC] Cleaned up SymReg handling in IMCC, partially:
: - removed some unused and duplicate functions
: - tidied the code
: - added some function documentation
diff: www.parrotvm.org/svn/parrot/revision?rev=28589
r28590 | jkeenan++ | trunk: 03:22
: Number of tests in SKIP block should have been 3, not 2.
diff: www.parrotvm.org/svn/parrot/revision?rev=28590
bacek rakudo: my ($a, $b); $a=42; say $a 03:23
wrong window. 03:24
Scope not found for PAST::Var '$a' 03:25
Tene bacek: that works here with the name 'perl6:'
bacek Tene, thanks
perl6: my ($a, $b); $a=42; say $a
polyglotbot OUTPUT[Scope not found for PAST::Var '$a'␤current instr.: 'parrot;PCT::HLLCompiler;panic' pc 156 (src/PCT/HLLCompiler.pir:103)␤called from Sub 'parrot;PAST::Compiler;post_children' pc 1692 (src/PAST/Compiler.pir:364)␤called from Sub 'parrot;PAST::Compiler;call' pc 3067
..(src/PAST/Compiler.pir:823)␤called from Sub 'parrot;PAST::Compiler;post_chil...
bacek (infix:,)--
Tene There's also perl6.parse:, perl6.past:, perl6.pir:, and perl6.paste: 03:26
bacek perl6.paste? 03:27
Tene sends output ot pastebin instead of here.
perl6.paste: for 1..1000 { say $_ } 03:28
nopaste "polyglotbot" at 193.200.132.146 pasted "perl6 paste" (1000 lines) at nopaste.snit.ch/13333
bacek Tene, ok. Thanks again :)
perl6.past: my ($a, $b);
nopaste "polyglotbot" at 193.200.132.146 pasted "perl6 past paste" (64 lines) at nopaste.snit.ch/13334
japhb Tene: Can you make aliases for the language names that polyglotbot recognizes? So rakudo := perl6, plumhead := php, and so on? 03:37
That will tend to DWIM instead of have people wondering which is the right thing to use ...
Any cygwin users around? 03:38
Tene Right now it just uses the names in languages/ because that reduced my typing. I doubt I'll actually get around to fixing that in the near future, but it's on feather3 if you want to change it yourself.
japhb once had feather access, but cannot for the life of him remember username/password there
It's been a year and a half since I used it, I think. 03:39
diakopter japhb: I can reset your password on feather(1), but not feather3
Tene Just harass Juerd to set up an account for you on feather3.
japhb diakopter: yes, would you mind resetting me? I may be japhb or geoffb or just geoff, I don't remember. 03:40
dalek r28591 | chromatic++ | trunk:
: [src] Fixed a memory leak; I forgot to free the const string cache previously.
diff: www.parrotvm.org/svn/parrot/revision?rev=28591
japhb I need to get around to putting a password safe on a thumb drive somewhere .... 03:41
diakopter how about japhy
purl japhy is engaged.
japhb diakopter: nope, that's not me. The one variant that isn't.
diakopter nope, geoffb 03:42
yeah
japhb Juerd: Can I get my feather account copied to feather3, so that I can help Tene with polyglotbot? 03:48
diakopter Tene has sudo access on feather3; he can create an acct for you there :P 03:49
Tene Oh, I have sudo, I could give you... yeah, that.
I'll do that now.
japhb heh
thx
Tene what username? 03:50
purl username is the first entry?
japhb Tene: how about 'japhb'
?
Tene Juerd: I just set up an account for japhb and gave him sudo access. Tell me if that was inappropriate. 03:51
japhb: it's in my home directory, currently running inside a screen session. 03:53
japhb OK, fair enough
japhb is a big fan of screen
oh, that's interesting 03:55
Tene hm?
japhb I can't take your screen, because you don't have permission to affect my tty ...
Tene yeah
just chmod your tty
or setfacl it, if that filesystem has acls
ah, no setfacl. 03:56
japhb It's an old debian box, I doubt it's running ACLs unless Juerd did it manually
Tene yeah, looks like
chmod to the rescue!
03:56 Andy joined
japhb going crazy without 'less' 04:00
Word to the wise -- do not use 'more' on pbot's TODO while inside a screen ... ==> locked window, ctrl-A K required 04:03
bacek perl6: my $a; my $a; $a=42; say $a; 04:05
polyglotbot OUTPUT[42␤]
bacek yak...
tetragon Yay, the Unicode newline character
japhb Dunno why, but I've never been able to see that one. I'm mildly curious which Debian font has it, if anyone knows ... 04:07
tetragon I'm not certain which fonts in Debian have that range, but one of the fonts on my box with SYMBOL FOR NEWLINE is "Arial Unicode MS" 04:08
japhb Do you have it in any fixed-width (and preferably programmer-friendly) fonts?
dalek Christoph Otto | Plumhead:
link: www.perlfoundation.org/parrot/index.cgi?plumhead
tetragon I'm not certain about how well Monaco would work 04:09
And then there's also the ugly "Ming(for ISO10646)" that I was using for xelatex/Template::Latex trials 04:11
bacek japhb, 'Monospace'
japhb bacek, doesn't seem to work for me
tetragon Is your client set up for Unicode? 04:12
bacek japhb, strange. Works for me in xchat.
japhb tetragon: It's xchat-gnome. Should work.
bacek: hmmm, I wonder if Monospace is just a symlink ...
tetragon japhb: With xchat aqua I had to set a preference before it would 04:13
bacek $ fc-match Monospace
Courier_New.ttf: "Courier New" "Normal"
heh
tetragon japhb: I had to set the server character set
japhb VeraMono.ttf: "Bitstream Vera Sans Mono" "Roman"
... and that would be the problem, I guess 04:14
tetragon: hmmm
tetragon japhb: The Aqua port at the very least doesn't default to UTF-8
japhb tetragon: nod. I'm looking around for something obvious
dalek Christoph Otto | plumhead_renaming: 04:15
link: www.perlfoundation.org/parrot/index...d_renaming
shorten dalek's url is at xrl.us/d2gpk
japhb tetragon: found it; it was already set to UTF-8 04:16
cotto_yapc msg barney Take a look at www.perlfoundation.org/parrot/index...d_renaming when you have a minute or two. 04:17
purl Message for barney stored.
shorten cotto_yapc's url is at xrl.us/d2gpk
cotto_yapc msg fperrad Take a look at www.perlfoundation.org/parrot/index...d_renaming when you have a minute or two.
purl Sorry, I've never seen fperrad before.
shorten cotto_yapc's url is at xrl.us/d2gpk
cotto_yapc yes you have
04:23 japhb joined
japhb ␤ 04:27
04:31 Zaba_ joined
bacek perl6: my ($a,$b); my(1,2); 04:40
polyglotbot OUTPUT[Scope not found for PAST::Var '$a'␤current instr.: 'parrot;PCT::HLLCompiler;panic' pc 156 (src/PCT/HLLCompiler.pir:103)␤called from Sub 'parrot;PAST::Compiler;post_children' pc 1692 (src/PAST/Compiler.pir:364)␤called from Sub 'parrot;PAST::Compiler;call' pc 3067
..(src/PAST/Compiler.pir:823)␤called from Sub 'parrot;PAST::Compiler;post_chil...
bacek perl6: my ($a,$b); say 'hey' 04:41
polyglotbot OUTPUT[Scope not found for PAST::Var '$a'␤current instr.: 'parrot;PCT::HLLCompiler;panic' pc 156 (src/PCT/HLLCompiler.pir:103)␤called from Sub 'parrot;PAST::Compiler;post_children' pc 1692 (src/PAST/Compiler.pir:364)␤called from Sub 'parrot;PAST::Compiler;call' pc 3067
..(src/PAST/Compiler.pir:823)␤called from Sub 'parrot;PAST::Compiler;post_chil...
04:42 mateo319 joined
Eevee er: make: *** No rule to make target `src/pmc/version.pmc', needed by `src/pmc/version.dump'. Stop. 05:02
05:09 Psyche^ joined
Eevee okay, make didn't care on attempt 2 05:16
but this is interesting
perl6: my $a = 'foo'; $a.say;
polyglotbot OUTPUT[foo␤]
Eevee perl6: $_ = 'foo'; $_.say; 05:17
polyglotbot OUTPUT[too few arguments passed (0) - 1 params expected␤current instr.: '_block11' pc 0 (EVAL_7:3)␤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 806 (src/PCT/HLLCompiler.pir:469)␤called from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1088 (src/PCT/HLLCompiler.pir:598)␤called from Sub
..'parrot;PCT::HLLCompiler;command_line' pc 1267 (src/PCT/HL...
Eevee $_ only work within loops so far? 05:18
bacek perl6: say ~(1..10).grep({$_ % 2}) 05:19
polyglotbot OUTPUT[Method 'grep' not found for invocant of class 'Range'␤current instr.: '_block11' pc 63 (EVAL_14:25)␤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 806 (src/PCT/HLLCompiler.pir:469)␤called from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1088 (src/PCT/HLLCompiler.pir:598)␤called from Sub
..'parrot;PCT::HLLCompiler;command_line' pc 1267 (sr...
bacek perl6: say ~<1..10>.grep({$_ % 2})
polyglotbot OUTPUT[Method 'grep' not found for invocant of class 'Perl6Str'␤current instr.: '_block11' pc 45 (EVAL_12:22)␤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 806 (src/PCT/HLLCompiler.pir:469)␤called from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1088 (src/PCT/HLLCompiler.pir:598)␤called from Sub
..'parrot;PCT::HLLCompiler;command_line' pc 1267 ...
bacek perl6: say ~(<1..10>).grep({$_ % 2}) 05:20
polyglotbot OUTPUT[Method 'grep' not found for invocant of class 'Perl6Str'␤current instr.: '_block11' pc 45 (EVAL_12:22)␤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 806 (src/PCT/HLLCompiler.pir:469)␤called from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1088 (src/PCT/HLLCompiler.pir:598)␤called from Sub
..'parrot;PCT::HLLCompiler;command_line' pc 1267 ...
bacek perl6: say ~grep {$_ % 2}, 1..10;
polyglotbot OUTPUT[1 3 5 7 9␤]
bacek but it is not '$_'
Eevee is it faked as $^_? 05:21
wow that was some line noise
bacek perl6: say ~grep {$^_ % 2}, 1..10; 05:25
polyglotbot OUTPUT[1 3 5 7 9␤]
bacek Eevee, looks like...
Eevee haha, that's so gross 05:26
okay
06:04 Zaba joined 06:05 zarchne joined
japhb Juerd: ping 06:13
msg Juerd Do you have any objections to apt installs on feather3 -- like, for instance, 'less'? 06:32
purl Message for juerd stored.
07:17 ank joined 07:22 iblechbot joined 07:25 Ademan joined 08:01 barney joined 08:03 slightlyoff joined 08:04 slightlyoff left 08:05 Zaba_ joined
dalek bernhard.schmalhofer@gmx.de | Plumhead: 08:11
link: www.perlfoundation.org/parrot/index.cgi?plumhead
bernhard.schmalhofer@gmx.de | Plumhead: 08:12
link: www.perlfoundation.org/parrot/index.cgi?plumhead
r28592 | bernhard++ | trunk: 08:25
: [Plumhead]
: Clean up generated *.pbc files.
diff: www.parrotvm.org/svn/parrot/revision?rev=28592 08:26
08:31 bacek joined 08:36 masak joined
dalek r28593 | bernhard++ | trunk: 08:46
: Satisfy the c_parens codingstd test.
diff: www.parrotvm.org/svn/parrot/revision?rev=28593
09:20 pjcj joined 09:31 ruoso joined 09:33 Zaba joined 10:21 Whiteknight joined 11:01 iblechbot joined 12:04 jq joined 12:14 tetragon joined 12:34 jjuran joined 12:45 Zaba joined
Juerd japhb: No, please go ahead. feather3 is free play as long as you fix what you break :) 12:49
12:53 kid51 joined 12:56 radhios joined 13:13 ambs joined
ambs Given that TimToady is around, let me just suggest to add a new constrction to perl 6: forever { ... } :D 13:14
pmichaud we already have such a construction: loop 13:15
ambs oops
loop { .. }
?
pmichaud yes, loop { ... } 13:16
see S04.
ambs damn, everytime I get an idea, somebody had it already.
pmichaud from S04: As in C, the parentheses are required if you supply the 3-part spec; however, the 3-part loop spec may be entirely omitted to write an infinite loop. That is,
loop {...}
is equivalent to the Cish idiom:
loop (;;) {...}
ambs then, for is dead?
pmichaud no, for is an iterator.
for @list { ... }
ambs ok, C for is now loop 13:17
Perl for, is for
got it
ambs needs to start reading S* 13:18
masak ambs: not only that, but p5 `while` is sometimes `for` in p6 13:45
specifically, when you're reading lines from file
ambs so, basically, a completely new language 13:54
:)
13:54 ruoso joined
diakopter ambs: not backward-compatible, if that's what you mean. there are a lot of similarities with Perl 5 13:55
ambs diakopter, no. I mean it will take some time to be self-confident writing p6 code. 13:58
masak ambs: well, yes or no, depending on what 'completely new' means to you 14:04
but the file-line idiom will have to be relearnt
it's true that p5 and p6 are very different in some respects 14:05
ambs just found feather.perl6.nl/syn/
masak the sense of Perl is definitely still in p6, tho'
ambs :) 14:06
14:06 tetragon joined 14:09 radhios joined
dalek r28594 | pmichaud++ | trunk: 14:12
: [rakudo]:
: * Update spectest-progress
: * 65 files, 794 passing tests
diff: www.parrotvm.org/svn/parrot/revision?rev=28594
jonathan Ooh, not too many off 1000. :-) 14:14
pmichaud yes, when I get the <term> rule refactored we'll get a bunch of tests passing from enabling 'pi' 14:15
src/ops needs to have svn:ignore set. 14:16
14:16 gmansi joined
jonathan Nice...what else is on your coming soon list? 14:17
pmichaud $_ handling, <term> rule refactor, and hopefully pre-compiled Test.pm
dalek r28595 | pmichaud++ | trunk:
: [rakudo]:
: * Update README.
diff: www.parrotvm.org/svn/parrot/revision?rev=28595
pmichaud (getting Test.pm to work requires a bit of re-think of :load :init subs)
jonathan Sounds good. 14:19
Pre-compiled stuff would be great.
pmichaud yes, it will speed up the testing quite a bit.
then we'd also be able to write runtime libraries in Perl 6 :-)
jonathan Will you try and do it for general stuff too, so we can have a perl6 --bytecode myscript.p6 and get myscript.pbc? 14:20
pmichaud I don't know of a way to generate bytecode from within PIR.
but one could do --target=pir and then compile that result to .pbc
14:20 mateo319 joined
jonathan You take an eval PMC 14:20
And I think
$S0 = $P0 where $P0 is the eval PMC
Then write $S0 to file. 14:21
pmichaud hrm.
hadn't heard that one. In previous times when I've asked about this the answer came back as "oh, we don't have a way to do that yet." :-)
jonathan I'm sure I've done that in the past.
pmichaud if that works I should add it to HLL compiler.
jonathan oh, it's not quite like that 14:23
But see languages/dotnet/src/net2pbc.pir
nopaste "pmichaud" at 76.183.97.54 pasted "problem with lexical scoping" (15 lines) at nopaste.snit.ch/13336 14:24
jonathan That's bizzare... 14:26
pmichaud I think it has to do with closure handling. I'm coming up with a small .pir demo case.
nopaste "pmichaud" at 76.183.97.54 pasted "problem with lexical scoping (pir)" (31 lines) at nopaste.snit.ch/13337 14:30
14:44 iblechbot joined 14:53 Limbic_Region joined
dalek r28596 | pmichaud++ | trunk: 14:55
: [rakudo]:
: * Set svn:ignore properties on src/ops .
diff: www.parrotvm.org/svn/parrot/revision?rev=28596
r28597 | pmichaud++ | trunk: 14:56
: [rakudo]:
: * Handle empty statements (RT#55594)
: * Patch courtesy Ronald Schmidt <ronaldxs@software-path.com>
diff: www.parrotvm.org/svn/parrot/revision?rev=28597
15:04 mateo319 joined
dalek r28598 | pmichaud++ | trunk: 15:05
: [rakudo]:
: * Allow 'make spectest_regression' to work even when "svn up" fails on t/spec. 15:06
: * RT#56050 patch courtesy Deven T. Corzine <deven@twist.ties.org>
diff: www.parrotvm.org/svn/parrot/revision?rev=28598
r28599 | pmichaud++ | trunk: 15:17
: [rakudo]:
: * Add chop.t and remove comb.t from spectest_regression (RT#56068, moritz++)
: * Patch courtesy Moritz Lenz <moritz@casella.verplant.org>
diff: www.parrotvm.org/svn/parrot/revision?rev=28599
DietCoke removing things from regression doesn't soundgood! 15:22
pmichaud we were skipping all of the tests. 15:24
jonathan r28598++ 15:25
(I'm only kinda half here at the moment...)
pmichaud I'm about to be not-here -- have a LUG to attend in 30 mins.
jonathan pmichaud: Not sure - I need to look at what newclosure does more closely to really understand what's going on here... 15:26
pmichaud jonathan: no problem -- just wanted to get the ticket on record. I'll probably bring it up at #parrotsketch if nobody's addressed it by then. 15:27
theoretically we don't need the newclosure in this case (for the immediate block), but when I don't generate those as closures I get other bugs -- which probably also deserve tickets. 15:28
jonathan pmichaud: Would be good to give the whole thing a review. 15:34
Maybe I get some free time to look over it later today or tomorrow.
pmichaud there's also the issue with :outer referencing :load :init subs 15:36
which allison has fixed in the pdd25cx branch
I don't know if that will fix this or not.
jonathan Hmm, OK.
pmichaud might try testing the .pir in pdd25cx, though, just to see.
jonathan Do you have any idea how far we are off merging that into trunk?
pmichaud anyway, I have to head off to a meeting -- bbl.
jonathan OK, cu
pmichaud I don't know how far off a merge is. We got PGE to compile in the branch, but that pointed up some other failures. 15:37
afk # meeting
15:49 davidfetter joined 16:35 ron joined 16:38 ron joined 16:51 Zaba joined 17:03 ank joined 17:19 gmansi joined 17:29 zarchne joined 17:56 Ademan joined 18:01 tetragon joined 18:15 gmansi joined 18:18 Khisanth joined 18:47 gmansi joined
dalek r28600 | chromatic++ | trunk: 19:10
: [IMCC] Plugged the keychain memory leak in IMCC. All key-type structures
: leaked memory proportional to the number of elements in the key. Now they
: don't.
diff: www.parrotvm.org/svn/parrot/revision?rev=28600
r28601 | chromatic++ | trunk: 19:26
: [IMCC] Tidied the rest of the SymReg code. There are no functional changes.
diff: www.parrotvm.org/svn/parrot/revision?rev=28601
r28602 | chromatic++ | trunk: 19:43
: [src] Fixed Hash declarations so that both C and C++ compile again (NotFound,
: RT #55960).
diff: www.parrotvm.org/svn/parrot/revision?rev=28602
19:46 gryphon joined 19:48 gmansi joined 19:50 cognominal joined 19:56 kid51 joined
dalek r28603 | jkeenan++ | searchdocs: 20:06
: Branch was merged into trunk on June 1; no longer needed.
diff: www.parrotvm.org/svn/parrot/revision?rev=28603
r28604 | jkeenan++ | searchdocs-27802: 20:08
: Branch to which this tag corresponded has been removed from trunk; tag; no longer needed.
diff: www.parrotvm.org/svn/parrot/revision?rev=28604
r28605 | jkeenan++ | nom4: 20:09
: Creating nom4 in svn.perl.org/parrot/branches
diff: www.parrotvm.org/svn/parrot/revision?rev=28605
r28606 | jkeenan++ | nom4-28604:
: Tagging trunk at r28604 so that the nom4 can later be synched to it.
diff: www.parrotvm.org/svn/parrot/revision?rev=28606
20:11 ruoso joined
dalek r28607 | jkeenan++ | nom4: 20:20
: In branch, remove config step class auto::m4 and associated test file. Update MANIFEST.
diff: www.parrotvm.org/svn/parrot/revision?rev=28607
r28608 | jkeenan++ | trunk: 20:23
: File needed updating.
diff: www.parrotvm.org/svn/parrot/revision?rev=28608
20:33 jhorwitz joined
dalek r28609 | jkeenan++ | opsrenum: 20:36
: Creating opsrenum in svn.perl.org/parrot//branches
diff: www.parrotvm.org/svn/parrot/revision?rev=28609
r28610 | jkeenan++ | opsrenum-28608:
: Tagging trunk at r28608 so that the opsrenum can later be synched to it.
diff: www.parrotvm.org/svn/parrot/revision?rev=28610
20:51 vhold joined 20:59 slightlyoff joined 21:00 slightlyoff left, paco joined
dalek r28611 | pmichaud++ | trunk: 21:01
: [rakudo]:
: * Fix trailing space problem in src/parser/actions.pm .
diff: www.parrotvm.org/svn/parrot/revision?rev=28611
r28612 | pmichaud++ | trunk: 21:03
: [rakudo]:
: * Add item() function.
diff: www.parrotvm.org/svn/parrot/revision?rev=28612
21:22 Zaba joined
bacek morning everyone 21:37
perl6: sub my ($a,$b) { say $a+$b }; my $a=40; my $b=2;
polyglotbot RESULT[2]
bacek perl6: sub my ($a,$b) { say $a+$b }; my $a=40; my $b=2; my ($a,$b);
polyglotbot OUTPUT[too few arguments passed (1) - 2 params expected␤current instr.: 'my' pc 100 (EVAL_12:40)␤called from Sub '_block11' pc 94 (EVAL_12:34)␤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 806 (src/PCT/HLLCompiler.pir:469)␤called from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1088
..(src/PCT/HLLCompiler.pir:598)␤called from Sub 'parrot;PCT::H...
bacek perl6: sub my ($a) { say $a }; my $a=40; my $b=2; my ($a,$b); 21:38
polyglotbot OUTPUT[402␤]
dalek r28613 | fperrad++ | libs4php:
: [phc] add boolean & NULL
diff: www.parrotvm.org/svn/parrot/revision?rev=28613
diakopter perl6: sub say { undef.say }; say();
polyglotbot OUTPUT[[oops; continuation 0xb7292cc4 of type 21 is trying to jump from runloop 1421 to runloop 98]␤[oops; continuation 0xb72932ac of type 21 is trying to jump from runloop 1421 to runloop 98]␤[oops; continuation 0xb7293894 of type 21 is trying to jump from runloop 1421 to runloop 98]␤[oops;
..continuation 0xb7293e7c of type 21 is trying to jump f...
dalek r28614 | fperrad++ | libs4php: 21:39
: [php] php_sape_name uses the framework
diff: www.parrotvm.org/svn/parrot/revision?rev=28614
bacek pmichaud, it's a bug in handling 'scoped' rule in grammar. 21:40
jonathan [my|has|our] (...) is, I think, known as unimplemented. 21:42
Or as far as I last knew, anyway.
bacek jonathan, it's not implemented. 21:44
dalek r28615 | fperrad++ | libs4php:
: [php] use PHP types
diff: www.parrotvm.org/svn/parrot/revision?rev=28615
bacek perl6: sub foo {}; say foo; 21:45
polyglotbot OUTPUT[Null PMC access in get_string()␤current instr.: 'print' pc 9632 (src/gen_builtins.pir:6354)␤called from Sub 'say' pc 9654 (src/gen_builtins.pir:6364)␤called from Sub '_block11' pc 38 (EVAL_10:16)␤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 806 (src/PCT/HLLCompiler.pir:469)␤called from
..Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1088 ...
bacek yet another bug... 21:46
perl6: say sqrt(1i),' ', (1+1i)/sqrt(2) 21:47
polyglotbot OUTPUT[1 0.707107+0.707107i␤]
diakopter perl6: say sqrt(1 i),' ', (1+1 i)/sqrt(2) 21:50
polyglotbot OUTPUT[1 0.707107+0.707107i␤]
diakopter perl6: sub i { 5 }; if 1 {3i i}; 21:51
polyglotbot RESULT[0+3i]
diakopter perl6: sub i { 5 }; if i() {3i i i}; 21:53
polyglotbot RESULT[0+3i]
diakopter stares
perl6: sub i { 5 }; if i {3i i i};
polyglotbot OUTPUT[Could not find non-existent sub if␤current instr.: '_block11' pc 46 (EVAL_11:21)␤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 806 (src/PCT/HLLCompiler.pir:469)␤called from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1088 (src/PCT/HLLCompiler.pir:598)␤called from Sub
..'parrot;PCT::HLLCompiler;command_line' pc 1267 (src/PCT/HLLCompiler.p...
diakopter perl6: sub i { say 4; [5] }; if =i(i) {say, 3;i(i)}; 21:59
polyglotbot OUTPUT[4␤4␤␤4␤4␤]
diakopter this helps a bit 22:00
perl6: sub i { say 4; [5] }; if =i(i) {say 2, 3;i(i)};
polyglotbot OUTPUT[4␤4␤23␤4␤4␤]
pmichaud my ($a, $b) isn't implemented yet. See RT#53902. 22:07
bacek pmichaud, I checked src/parser/gammar :) 22:09
pmichaud I'm just saying it's a known bug. :-) 22:10
bacek it's not implemented and I can't implement it... 30+ seconds for recompile killing me...
perl6: sub foo {}; say foo;
polyglotbot OUTPUT[Null PMC access in get_string()␤current instr.: 'print' pc 9632 (src/gen_builtins.pir:6354)␤called from Sub 'say' pc 9654 (src/gen_builtins.pir:6364)␤called from Sub '_block11' pc 38 (EVAL_10:16)␤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 806 (src/PCT/HLLCompiler.pir:469)␤called from
..Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1088 ...
bacek is parrot or rakudo bug? 22:11
pmichaud probably not a parrot bug.
might be a pct bug.
bacek perl6.past: sub foo {}; say foo;
nopaste "polyglotbot" at 193.200.132.146 pasted "perl6 past paste" (91 lines) at nopaste.snit.ch/13338
pmichaud it may be that we need an empty block to return undef. Or perhaps an empty hash. 22:12
bacek perl6: sub foo {undef}; say foo;
polyglotbot OUTPUT[␤]
pmichaud since {} is really a hash composer. :-)
bacek yak :)
pmichaud, btw, in S29-list/map.t block fudged with 'empty statement in closure' works for me. 22:13
perl6: say ~(1,2,3,4).map:{ $^a + $^b } 22:14
polyglotbot OUTPUT[Statement not terminated properly at line 1, near ":{ $^a + $"␤current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82)␤called from Sub 'parrot;Perl6::Grammar;eat_terminator' pc 20609 (src/gen_grammar.pir:2813)␤called from Sub
..'parrot;Perl6::Grammar;statementlist' pc 19622 (src/gen_grammar.pir:2450)␤called fr...
pmichaud adverbial closures not implemented.
bacek i know... 22:15
what do :: in grammar? 22:16
pmichaud it's a 'cut' operation 22:17
prevents backtracking past the ::
bacek pmichaud, thanks. 22:19
pmichaud, another question: rt.perl.org/rt3/Ticket/Attachment/4...test2.diff 22:21
shorten bacek's url is at xrl.us/ef2ce
bacek this is modified Test.pm and test for Test.pm
(and small patch for eval() to prevent dieing on parsing) 22:22
pmichaud interesting. I'll consider the patch for a while (but testing Test.pm isn't high on my priority list atm) 22:26
seems like we could get almost as good by just introducing $expect_fail into Test.pm directly, rather than trying to override the sub. 22:27
22:30 anr joined
apeiron I'm trying to submit a smoke for parrot 0.6.3 on FreeBSD and I'm getting this error: * Sending data to smokeserver "smoke.parrotcode.org/smoke/"... error: The submitted smoke has an invalid format! Am I missing something, or did I do something incorrectly? 22:32
bacek pmichaud, It's 'pugs' approach.
They use named 'todo' arg. 22:33
diakopter apeiron: usually that's b/c you did svn export, not svn checkout
apeiron diakopter, This is directly from a 0.6.3 tarball.
pmichaud we're not using named 'todo' for the test suite.
diakopter apeiron: that too :)
apeiron That machine doesn't even *have* svn.
pmichaud using :todo was from when the test suite was only testing pugs.
diakopter yes, non-svn-checkouts can't submit smokes 22:34
apeiron ah.
Now you tell me.
diakopter apeiron: actually
pmichaud ...why does 'make smoke' require svn, ooc?
diakopter if you modify the submission file to include some svn revision, the smoke server will accep tit
accept it
b/c it includes the svn revision in the submission 22:35
apeiron I'm not sure if fooling it like that would be helpful...
pmichaud seems like we ought to be able to get 'make smoke' to recognize "0.6.3" as a valid revision :-)
for the non-svn checkouts.
apeiron Not a big deal, I'm installing svn presently. 22:36
(well, not a big deal for me)
pmichaud well, we'd like to get smokes from lots of platforms :-)
diakopter apeiron: I don't know what revision the 0.6.3 release was
pmichaud: could the 'make release' target put the r in some text file somewhere? 22:37
dalek r28616 | pmichaud++ | trunk:
: [rakudo]:
: * Update rakudo's grammar with various changes to STD.pm .
diff: www.parrotvm.org/svn/parrot/revision?rev=28616
apeiron pmichaud, I have some thoughts on putting together a federation of VMs using VMWare and using Perl-driven SSH and such to autosmoke.
pmichaud apeiron: that would be very cool.
apeiron I'm working with Fusion for the Mac right now as I'm on my MBP. 22:38
Maybe someone with the appropriate license keys or whatnot can create appliances for different platforms?
dalek r28617 | fperrad++ | libs4php:
: [php] is_bool, is_float is_long is_null is_string strval
diff: www.parrotvm.org/svn/parrot/revision?rev=28617
diakopter apeiron: VMWare server 2.0 beta is free... and pretty neat. linux or windows tho 22:39
apeiron diakopter, I tried the Fusion 2.0 beta and it b0rked networking. :(
pmichaud, The basic premise is: start VM, ssh in, svn up, make smoke, shutdown VM, move onto the next.
diakopter oh; I don't know about Fusion 2... I just know about Fusion 1 and Server 2 beta 22:40
Tene really likes KVM for virtualization.
diakopter Server 2 beta has been around for 1.5 years at least
apeiron Tene, Heh. Being that $WORK paid for this MBP and its copy of Fusion... :)
diakopter rakudo: DWIM: { say system('uname -a') } 22:41
perl6: DWIM: { say system('uname -a') }
polyglotbot OUTPUT[Statement not terminated properly at line 1, near ": { say sy"␤current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82)␤called from Sub 'parrot;Perl6::Grammar;eat_terminator' pc 20609 (src/gen_grammar.pir:2813)␤called from Sub
..'parrot;Perl6::Grammar;statementlist' pc 19622 (src/gen_grammar.pir:2450)␤called fr...
diakopter no block labels?
pmichaud not yet. 22:43
diakopter apeiron: 0.6.3 was r28470
try 'r28470' or '28470' in that spot... 22:44
it should submit
pmichaud also, system() isn't valid Perl6. Try 'run'.
diakopter pmichaud: ah
apeiron diakopter, All right. Will give smoking that a shot once svn is installed.
pmichaud perl6: say run('uname -a');
polyglotbot OUTPUT[Linux feather3 2.6.18-6-xen-686 #1 SMP Sun Feb 10 22:43:13 UTC 2008 i686 GNU/Linux␤0␤]
22:51 teknomunk joined
nopaste "bacek" at 202.7.166.165 pasted "Slightly reworked Test.pm and test for pmichaud" (142 lines) at nopaste.snit.ch/13339 22:57
bacek yak... I forgot to change comments... 23:01
nopaste "bacek" at 202.7.166.165 pasted "Slightly reworked Test.pm and test for pmichaud (once again)" (142 lines) at nopaste.snit.ch/13340 23:04
bacek pmichaud, it this version ok? 23:05
pmichaud I like it better, yes.
bacek send it to RT? 23:07
pmichaud, You promise to take a look :) bacek.homeip.net/cgit/parrot/diff/l...6bdb50c37f 23:08
shorten bacek's url is at xrl.us/ego7m
bacek it's lazy list (first cut). Keep working on it or throw away as full crap? 23:09
23:09 Zaba joined 23:16 cjfields joined
Limbic_Region pmichaud ping 23:16
bacek Limbic_Region, you shouldn't "ping" pmichaud. You should "summon" him :) 23:19
summon pmichaud!
spell failed... 23:20
purl failed... looks funny
diakopter spell purl
purl Possible spellings for purl: URL burl curl furl hurl Perl pull pure purr
Limbic_Region heard that patience is a virtue 23:21
not one that I have, but I can wait :-)
apeiron Also, just 'cause people say something doesn't mean it's true. :) (cf "perl is dying" tripe) 23:22
diakopter apeiron: but something that'd dead can't be dying.. 23:25
pmichaud Limbic_Region: pong
apeiron diakopter, You're not saying perl is dead, are you? 23:26
pmichaud bacek: I still don't see why we need a ListIterator class.
diakopter apeiron: sorry; was kidding; a bad/botched joke/reply 23:27
mega-botched
apeiron diakopter, FWIW I don't believe you'd say such a thing so I'm not about to call you heathen. :)
diakopter I shoot my mouth off too often.. you shouldn't give me the benefit of the doubt like that ;) 23:28
bacek pmichaud, removing it in TODO.
apeiron is reminded of old school Daffy Duck cartoons...
Limbic_Region pmichaud - sorry, have to take care of the 2 year old - bbias 23:29
cjfields do we have a PIR coding std?
(I have seen the C one in docs) 23:30
bacek perl6: my @a=(1..2); say ~@a; say ~@a;
polyglotbot OUTPUT[1 2␤1 2␤]
Limbic_Region pmichaud - in your PCT talk, I am pretty sure all of the functions you demo'd had existing parrot ops - if you are creating a function that does not - what are your options? PIR/PASM only?
pmichaud one can always write a new op or method in C 23:31
(or, of course, anything that compiles down to PIR/PASM :-)
cjfields I have attached a patch to RT#55492 for transliteration which is passing tests (t/spec/S05-transliteration/trans.t) 23:32
though tr/// is skipped (not implemented yet)
23:36 Eevee joined
Limbic_Region pmichaud - but if one were going to write a new op/method in C, one would need to get it integrated into parrot right? 23:36
bacek t/spec/S29-str/comb.rakudo...................... 10 10 0 0 0 10
t/spec/S29-str/sprintf.rakudo................... 37 37 0 0 0 37
pmichaud, we should remove them from spectest_regression.data... 23:37
pmichaud bacek: comb has already been removed.
bacek (Or implement them :)
pmichaud I'm not sure what to do with sprintf. I suppose we could just try parrot's sprintf and see what happens. :-) 23:38
l_r: NCI and dynamic ops allow things to be written in C w/o integrating them into parrot's core.
bacek pmichaud, No. comb.t still in. 23:39
But commit comment says that it removed.
Limbic_Region pmichaud - thanks. That answered my question(s).
bacek yak. forget it
Limbic_Region pmichaud - if I wanted to do something stupid like implementing state - where would I look? 23:40
pmichaud I haven't learned 'state' yet. But probably globals and lexicals.
okay, I _have_ to fix $_ tonight. 23:41
the current implementation is really broken -- it always assumes $_ is a parameter.
diakopter perl6: my $a = sub { say $_; }; $a(); 23:42
polyglotbot OUTPUT[too few arguments passed (0) - 1 params expected␤current instr.: '_block17' pc 64 (EVAL_10:33)␤called from Sub '_block11' pc 58 (EVAL_10:27)␤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 806 (src/PCT/HLLCompiler.pir:469)␤called from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1088
..(src/PCT/HLLCompiler.pir:598)␤called from Sub 'parrot;P...
cjfields pmichaud: Hate to bug you. When you have time, can you take a look at RT#55492 (patch)? It works around the .HLL mapping issue and passes all transliteration method tests. 23:44
Limbic_Region pmichaud - WRT to state variables, see perlmonks.org/?node=473584 # Larry's explanation there is better than the one in S04 23:45
pmichaud - also see use.perl.org/~nicholas/journal/36270 for a good test case 23:46
cjfields thinking pm's gotta full plate right now... 23:47
diakopter cjfields: not to mention a full stomach
cjfields ;)
speaking of, I need to get something... 23:48
pmichaud l_r: I'm not sure what storage mechanism state variables will use, but we'll probably use the :viviself parameter of PAST::Var nodes to initialize them on declaration. 23:49
we may end up having to have a :scope('state') type added to PAST::Var, too.
I'll have to think about it all a bit. Anything dealing with "first" initialization is often a bit tricky. 23:50
cjfields: don't all of the arguments first need to be mapped to a single hash before applying them? it looks to me as though this algorithm applies the first argument, then the second, then the next, etc. 23:51
Limbic_Region pmichaud - ok, all that meant to me is that it is beyond my current knowledge/understanding so I will make any attempt on my own
pmichaud cjfields: or maybe I'm misreading... just a sec. 23:52
cjfields pmichaud: the problem with trans (as described in S05) is the Pair key/value could be an Array, a Range, or a List. 23:53
or combinations thereof.
s/List/String 23:54
pmichaud right. So I'm thinking you need to loop through all of them to build a "master" key=>value mapping, and then use it to perform the substitution.
...which it appears is close to what you're doing.
in 23:55
+ orig = substr tmps, pos, 1
...what if the thing being substituted isn't a single character?
cjfields looking back at S05...
Do you means (in S05): 'The array version can map one-or-more characters to one-or-more characters:' 23:57
pmichaud yes.
cjfields I'll add some tests for that. I think I'll just need to rework the actual mapping bit at the end. 23:59