pugscode.org/ planetsix.perl.org/ | nopaste: sial.org/pbot/perl6 | evalbot: perl6: say 3; (or rakudo:, pugs:, elf:, etc) | irclog: irc.pugscode.org/ | ~340 days 'til Xmas
Set by mncharity on 16 January 2009.
00:00 Whiteknight left 00:01 Eevee left 00:07 kst` joined, kst left
mberends @tell masak re: ./perl6 versus ../../parrot perl6.pbc, RT#62376 illustrates a similar problem and can be demonstrated with r35708 on Debian x86-32. rt.perl.org/rt3/Public/Bug/Display.html?id=62376 00:10
lambdabot Consider it noted.
00:10 pcbuetow joined 00:11 mberends left 00:13 iblechbot left 00:14 [particle]1 left, Whiteknight joined 00:19 vixey left 00:27 spx2 left, pbuetow left, spx2 joined 00:38 kisu joined 00:40 jhorwitz left 00:45 _jedai_ left 00:46 |jedai| joined 00:52 ayrnieu_ joined 01:03 ayrnieu left 01:20 ekole left 01:26 DemoFreak left 01:41 meteorjay joined 01:44 kisu_ joined
diakopter ruoso: ri invokes m0ld with the following command line parameter: ",suffix='.c',src_suffix='.ri'" (I added double quotes b/c they're immaterial on windows) 01:44
01:54 dduncan joined 01:57 nacho_ left 01:58 kisu left 02:17 [particle]1 joined, Limbic_Region joined 02:24 Limbic_Region left 02:25 ayrnieu_ is now known as ayrnieu 02:26 [particle] left, On left 02:41 Eevee_ is now known as Eevee 02:46 dduncan left 02:48 dduncan joined, brunoV left 02:49 dduncan left 02:52 |jedai| left 02:53 |jedai| joined 03:06 HyP joined
HyP hy 03:09
i search a help for code in Perl 03:10
araujo ? 03:11
HyP Problem is after log and connect , i've not view of terminal host
sorry i'm frenche and my english is incorrect 03:12
araujo mm... 03:13
this channel is about perl 6
03:13 mberends joined
araujo you probably want help for perl 5? 03:13
03:17 aindilis joined 03:23 kst` left, kst` joined 03:37 meppl joined 03:40 DemoFreak joined 03:43 DemoFreak left 03:49 sepheebear is now known as Sepheebear 04:01 HyP is now known as HyP|away 04:15 gwern joined
gwern no pugs channel? 04:16
04:17 _jedai_ joined, |jedai| left
gwern well, if anyone can tell why HsJudy was removed from pugs I'd appreciate it 04:23
04:37 [particle] joined 04:42 icwiener_ joined 04:43 icwiener left 04:55 [particle]1 left 05:05 _jedai_ left 05:06 |jedai| joined 05:12 justatheory left 05:47 justatheory joined 05:51 justatheory left 05:57 icwiener_ left 06:08 ayrnieu left 06:20 HyP|away is now known as HyP 06:34 spx2 left 06:36 HyP is now known as HyP|away 06:41 _jedai_ joined 06:43 |jedai| left 06:46 _jedai_ left 06:47 |jedai| joined 06:58 [particle]1 joined 07:01 kisu_ left 07:07 [particle] left 07:11 |jedai| left 07:12 |jedai| joined 07:49 ZuLuuuuuu joined 07:53 ZuLuuuuuu left 08:03 kst`` joined, kst` left 08:13 ejs joined 08:16 kisu joined 08:38 iblechbot joined 09:06 |jedai| left 09:07 |jedai| joined 09:17 [particle] joined 09:19 DemoFreak joined 09:30 mberends left 09:36 [particle]1 left 09:43 On joined 09:56 ejs left 10:06 Maghnus joined 10:10 baysao joined 10:14 baysao left 10:15 |jedai| left 10:16 |jedai| joined, schmalbe joined 10:19 ZuLuuuuuu joined 10:28 Ehtyar joined 10:31 masak joined 10:40 |jedai| left, |jedai| joined 10:58 ejs joined 10:59 pmurias joined
pmurias diakopter: those parameters are incorrect, how did you tweak your SConstruct you may have broken it 11:13
11:15 HyP|away is now known as HyP, HyP left
masak std: my @a = $_ for 1,2,3 11:16
lambdabot masak: You have 1 new message. '/msg lambdabot @messages' to read it.
p6eval std 24936: OUTPUTĀ«00:06 105mā¤Ā»
masak @messages
lambdabot mberends said 11h 6m 21s ago: re: ./perl6 versus ../../parrot perl6.pbc, RT#62376 illustrates a similar problem and can be demonstrated with r35708 on Debian x86-32. rt.perl.org/rt3/Public/
Bug/Display.html?id=62376
masak @clear messages
lambdabot Messages cleared.
masak rakudo: my @a = $_ for 1,2,3; say @a.perl 11:18
p6eval rakudo 35710: OUTPUTĀ«Lexical '@a' not foundā¤current instr.: '_block14' pc 162 (EVAL_17:73)ā¤Ā»
masak it surprises me somewhat that @a is not declared in the above case. but I don't know what the spec says about such a case. 11:19
11:27 _jedai_ joined, lambdabot left 11:28 |jedai| left 11:30 lambdabot joined, kst``` joined, kst`` left 11:38 [particle]1 joined 11:46 kane_ left 11:57 [particle] left 12:01 _jedai_ left, |jedai| joined 12:03 vixey joined 12:09 masak left 12:25 |jedai| left 12:26 |jedai| joined 12:38 pmurias left
ruoso diakopter, ping 12:44
13:20 jimmy_ joined 13:24 jan_ left 13:26 HyP joined 13:28 jimmy_ left 13:36 masak joined
masak szabgab++ # C-style for loop RT ticket 13:40
lambdabot masak: You have 1 new message. '/msg lambdabot @messages' to read it.
masak @messages
lambdabot mberends said 13h 30m 18s ago: re: ./perl6 versus ../../parrot perl6.pbc, RT#62376 illustrates a similar problem and can be demonstrated with r35708 on Debian x86-32. rt.perl.org/rt3/Public/
Bug/Display.html?id=62376
masak lambdabot: right, I got you the first time. :/
@clear
lambdabot Messages cleared.
jnthn masak: You and bots just don't get on, huh? :-)
masak jnthn: I think I have high expectations. 13:41
I want the future, now.
gist.github.com/48659 13:44
13:45 HyP is now known as HyP|away
jnthn High expectations indeed...at least, purl makes them look high. ;-) 13:46
masak purl wilfully violates them.
that's her main flaw.
jnthn Aye, but somehow, when she's gone, she's missed. 13:47
masak right, right. she has some good traits. 13:48
jnthn tries to get more done on his slides, but sorta wants to be coding too...
Think I figured out how I'm going to do junction auto-threading while in the shower this morning.
masak jnthn: I note that you and pmichaud still haven't really made a dent in the pile of bug tickets I left you over the holidays. ;) 13:49
jnthn Yes. ;-) 13:50
On my part, it's because I've got a good chunk of time at the moment without much distraction from anything else. 13:51
And so I'm taking advantage of it while I have it to get the Big Things in my Hague Grant underway.
masak I understand. 13:52
jnthn Also, waiting to see if my Rakudo day will be renewed.
masak renewed?
jnthn Aye, it was agreed until end of 2008.
masak oh.
jnthn They encouraged me to submit a proposal for continuing it in 2009 though, and I've done so.
So just waiting to hear on that. :-) 13:53
masak crosses fingers
jnthn For now though, I've got my hands plenty full on the Hague Grant tasks.
masak ok, no worries. 13:54
I don't have any showstopping bugs right now.
jnthn OK
I do have some I want to address, plus I need to go through RT and close up any that I have fixed already. 13:55
masak just general grumpiness over arbritary segfaults. you probably saw the discussion with chromatic++ yesterday.
jnthn *nod*
They are just plain hard to track down.
And hard to re-produce too.
masak except the ones that occur every time :/ 13:56
jnthn Especially on different platforms.
masak like the double free.
13:57 _jedai_ joined
jnthn That one is scary. I don't doubt that if it was an easyish or even a mediumish difficulty fix, chromatic++ wouldn't have done it by now. 13:57
erm, would have done it
When chromatic describes it as hard, I'm worried.
masak :)
jnthn If you get any that are _not_ the double free though, a backtrace is helpful. 13:58
13:59 |jedai| left
jnthn (We have quite enough backtraces of that one in RT. :-|) 13:59
masak I only have the double free and irregular ones right now. and chromatic tells me that the irregular ones can't exist. :/
14:00 [particle] joined
jnthn I think the point was more that, the Parrot bug that gives rise to them shouldn't exist in the executable and not exist when running the PBC. 14:00
*but* whether the bug manifests may vary.
Which if it's GC related, is very possible. 14:01
masak I realize that. and he managed to convince me that apart from the double free, ./perl6 is not necessarily worse than parrot perl6.pbc.
just crashes in different places.
jnthn Right.
Because of differing memory allocation patterns. 14:02
masak which means that the consistent lack of crashes in the former since I switched is a coincidence. which I somewhat reluctantly accept.
s/former/latter/
jnthn That analysis is consistent with what I know too. 14:03
The trouble with the segfaults that arise out of GC issues is...
14:03 Whiteknight left
jnthn They're hard to track down without a small program. 14:03
14:04 [particle]1 left
masak is this due to the nature of Parrot or something? I've never managed to make JVM segfault. 14:04
jnthn And a small program in Perl 6 doesn't help so much. Even if you can reproduce it with running the output of --target=pir it's still pulling in perl6.pbc that does a lot of stuff.
It's a stability thing.
And maturity etc.
And I suspect also in part, complexity. 14:05
masak mm
jnthn I've hunted down GC bugs before. They are highly non-trivial. :-( 14:06
masak oh! and I've sort of decided that after the Rakudo leaving-the-nest thing, November will start targetting Rakudo and Parrot versions, not HEADs.
jnthn Last time I patched one it was 5-6 hours of analysis. 14:07
masak I got a bit fed up with three testsuite marathons in a row.
not anyone-in-particular's fault, of course, just a fallout of our current development model.
jnthn That's probably a sensible stratergy for November.
If you actually want to get development done on it rather than just bug hunting. 14:08
masak aye. I'm at the point where I'd like to guarantee stability.
jnthn I think the rvar branch shook a lot of things up.
It was needed, for sure.
masak I'm still not sure what November will become. but if it's to become a good wiki, it needs stability.
jnthn: the thing I'm the least pleased about is class-def-on-line-1. 14:09
jnthn But I don't doubt some things that accidentally and untestedly worked before it, were broken.
masak I realise that's what the spec says, but it _feels_ a bit unintuitive.
jnthn I've always been tending to write classes in blocks.
masak at least when we have like five different modules which worked before with a couple of harmless use statements before the class decl. 14:10
14:10 schmalbe left
masak I buy the match-against-grammar deprecation thing. that was our fault in not heeding the many warnings about deprecation. :) 14:10
but I don't really see the harm in having use statements above 'class Foo;' 14:11
@tell moritz_ s/hoover/hover/ in perlgeek.de/blog-en/perl-6/parse-tree.writeback -- otherwise, nice post. 14:13
lambdabot Consider it noted.
jnthn Not sure, what the design rationale is.
But it's been Perl 6 spec for a long while.
14:14 Southen left
masak I guess I didn't interpret 'first in file' so... literally myself. 14:14
jnthn Now and then, the spec does actually really mean what it says. ;-) 14:15
masak haha
perl6: my @a = 1,2,3; @a >>+<<= [10,20,30]; say @a 14:17
p6eval pugs: OUTPUTĀ«*** Unsafe function '=' called under safe modeā¤ at /tmp/Z6j8KKzUTU line 1, column 16-36ā¤Ā»
..rakudo 35717: OUTPUTĀ«Method 'list' not found for invocant of class 'Iterator'ā¤current instr.: '!HYPEROP' pc 14949 (src/builtins/assign.pir:273)ā¤Ā»
..elf 24936: OUTPUTĀ«Undefined subroutine &GLOBAL::prefix__61 called at (eval 131) line 4.ā¤ at ./elf_f line 3861ā¤Ā»
masak both Pugs and Rakudo seem to parse that as prefix:<=>
jnthn >>+=<<
But I don't think we implemnet it yet. 14:18
masak oh. so putting the = outside is wrong? where does it say that?
jnthn I think the implementations are correct to parse that as prefix:=
14:19 Whiteknight joined
jnthn S03 14:19
14:19 kst``` left
jnthn @array ōæ½xBB+=ōæ½xBB 42; # add 42 to each element 14:19
lambdabot I'll crush ye barnacles!
14:19 kst``` joined
jnthn ...well, that was a purlesque comment from lambdabot... 14:20
masak :)
jnthn: that tells me that >>+=<< is right, which I can accept. 14:21
but where does it say that >>+<<= is wrong?
or, at least, NWIM?
jnthn It'd never occurred to me you'd write it that way. Hmm. 14:22
std: @a >>+<<= [10,20,30];
p6eval std 24936: OUTPUTĀ«00:08 144mā¤Ā»
masak but that doesn't tell us if STD also sees it as prefix:<=> :) 14:23
jnthn Yeah, that's what I was thinking after I wrote it... :(
masak oh well. back to more worldly things. 14:24
jnthn I see what you're expecting it to parse as now though.
(at first I didn't...)
masak aye, and it seems to me that your suggestion is slightly different, although I haven't yet come up with an example that hightlights said difference. 14:25
jnthn They're certainly subtle, afaict. 14:26
masak hm, November p6w doesn't build at all today. investigating... 14:28
14:29 jan__ joined
jnthn discovers a multi dispatch bug while testing his slide examples :-| 14:33
masak code++ 14:34
jnthn I should write more of it...
masak I know the feeling. 14:36
14:38 HyP|away is now known as HyP
masak oh! our Test.pm doesn't work, for some reason. 14:41
and neither does the one in languages/perl6. 14:42
masak wonders if that's worthy of a rakudobug 14:43
jnthn :-S
jnthn does svn up do find out what on earth is going on 14:44
masak ./perl6 -e 'use Test' is enough.
...to trigger the problem.
No method named 'pass' to remove in class 'POST;Compiler'.
jnthn Wow.
masak jnthn: sorry to distract you from whatever you were doing.
jnthn sees some patched Parrot core stuff 14:45
Just slide writing, but I was going to move on to hacking on Rakudo soon...
masak that's two Parrot fixes in a row affecting Rakudo in a disastrous way.
looking forward to that 1.0 stable API. :P 14:46
jnthn masak: Reproduced it here.
masak: Did you try a realclean?
masak I _always_ do realclean when compiling.
jnthn OK, so I probably don't need to also do it then. 14:47
masak you could, but the error wouldn't go away.
jnthn Right.
erm. 14:48
How on *earth* does POST::Compiler come into this...
perl6 -e 'multi foo() { }'
Also does it.
masak :/ 14:49
jnthn Well done, somebody...
masak good thing there's not a release coming up or something. :/
jnthn looks through what's been commited of late for suspects
...to revert. :-|
masak jnthn++
masak goes back to learning Chinese words 14:50
jnthn Whiteknight: ping
14:54 vixey left 14:55 jhorwitz joined 14:57 pmurias joined
ruoso hi pmurias 14:59
jnthn And the winner of the "who did the Parrot change that broke Rakudo" is... 15:00
masak (drum roll)
jnthn 35697
(by Whiteknight. I feared so, from the error. :-() 15:01
Even more fun, there are two additional patches on top of the files as of how they were in that patch.
jnthn hates just reverting people's patches
Whiteknight jnthn: pong!
masak sounds like this might take a while. 15:02
Whiteknight: we were just talking about you. :)
Whiteknight yeah, I see that
jnthn Whiteknight: your get_class changes have caused epic breakage :-(
Whiteknight that get_class stuff is insufferable
jnthn Whiteknight: Your later patches succeed in making it fail in a different way though. ;-)
masak I got an angry mob of November hackers outside my window. what should I tell them?
Whiteknight tell them I'll have a fix committed in about 5 minutes 15:03
jnthn Whiteknight++ # thanks
masak they seem pleased.
jnthn (Would much rather have you fix it, than hit the undo button. :-))
Whiteknight what we need right now is all the use cases of get_class that Rakudo is relying on added to the test suite
because I obviously don't know them all, and this is an area that is ripe for changes/updates/improvements
jnthn *nod* 15:04
Whiteknight So if somebody can throw together some tests for that, I'll revert my recent changes of it
15:05 kisu left
Whiteknight where can I go to reproduce this problem? are the failures evident in the Rakudo test suite anywhere? 15:05
I want to make sure my fix actually fixes it 15:06
masak Whiteknight: ./perl6 -e 'use Test'
15:06 kisu joined
jnthn Whiteknight: Thing is that your patch touches get_class and stuff that it calls 15:06
It's possible the breakage is because of other things relying on the behavior elsewhere, not specifically get_class. 15:07
Though I'm kinda guessing here.
Whiteknight I'm decently certain that it's only coming through get_class, but I'll do some more research on it all 15:09
I think I can back out most of the changes/fixes and still leave RSA working the way it's supposed to
jnthn OK 15:10
15:10 |jedai| joined
jnthn I'll try and have a look through the Rakudo source and the tests and see what we're doing that is untested in Parrot core. 15:10
Whiteknight thanks 15:11
jnthn (with regard to get_class)
Whiteknight yeah
15:11 _jedai_ left
Whiteknight jnthn, on an unrelated note: what term do you use to refer to the postfix if or unless syntax? 15:12
pmurias ruoso: hi
masak rakudo: class A does B {}; role B {} 15:13
p6eval rakudo 35718: OUTPUTĀ«Null PMC access in find_method()ā¤current instr.: '!meta_trait' pc 17937 (src/builtins/guts.pir:559)ā¤Ā»
masak submits rakudobug
Whiteknight masak, hold off on the rakudo bug for a minute 15:14
I've got a fix coming down the parrot-pipeline that might resolve that issue
masak holds off for a minute
Whiteknight thanks
masak meanwhile, what's the semantics of does-ing a role which is declared later in the file? 15:15
jnthn Whiteknight: That's a separate issue to the one you're fixing.
masak: The semantics is, it gives an error.
masak (Š˜Š»ŃŒŃ's question on p6u)
jnthn: ok. I'll reply that to him.
jnthn I explained this to someone else yesterday...
masak I thought it would.
ruoso pmurias, i'm considering implementing named args
jnthn masak: But file, we need a better error.
ruoso pmurias, what do you think of implementing "use"? 15:16
masak no, I'm holding off for a minute.
jnthn In fact, we need a _compile time_ error.
pmurias ruoso: i'm planning to implement use Foo:from<perl5> now 15:17
ruoso cool
masak pmurias++ 15:19
Whiteknight jnthn, okay
masak pmurias: that is the one feature that might make me a smop user. 15:20
ruoso pmurias, I'm thinking about splitting AST::* into separated files as well 15:21
what do you think?
15:24 |jedai| left, |jedai| joined
ruoso masak, you realize that only syntax is missing to do that? see mildew/example 15:24
pmurias ruoso: the splitting of VAST seems too have worked nicely 15:25
masak ruoso: yes, I understand. actually, what I'm really after is being able to write whole Perl 6 programs that use Perl 5 CPAN modules.
pmurias ruoso: we have to consider if we want to always create a p5 interpreter or only when it's actually needed 15:34
15:35 gwern left
ruoso pmurias, I was thinking we could pre-declare a variable... 15:35
and kinda autovivify it when someone try to use it 15:36
but while we don't support autovivification
15:36 tigreton joined
ruoso we could just initialize it always 15:36
tigreton hi 15:37
pmurias tigreton: hi 15:38
ruoso: $P5Interpreter?
ruoso yeah... maybe for now
Whiteknight okay, so maybe my fix will take more then 5 minutes, I have a lot of tests to run 15:39
pmurias $+P5Interpreter maybe
i'll fake $+foo as $foo for now
perl6: $+OUT.print("hi\n"); 15:40
15:40 ZuLuuuuuu left
p6eval elf 24936: OUTPUTĀ«Can't call method "Str" on an undefined value at ./elf_f line 649.ā¤ at ./elf_f line 3861ā¤Ā» 15:40
..pugs: OUTPUTĀ«*** Can't modify constant item: VUndefā¤ at /tmp/KzAU8pkTN6 line 1, column 1-20ā¤ /tmp/KzAU8pkTN6 line 1, column 1-20ā¤Ā»
..rakudo 35718: OUTPUTĀ«Scope not found for PAST::Var '$+OUT' in ā¤current instr.: 'parrot;PCT;HLLCompiler;panic' pc 146 (src/PCT/HLLCompiler.pir:102)ā¤Ā»
15:41 icwiener joined
ruoso pmurias, we don't have a dynamic prelude yet 15:41
nor dynamic lookup
and $+OUT was not yet assumed as the standard 15:42
Whiteknight masak: Can't find ./Test in @INC 15:43
ruoso although TimToady was very much inclined to make it the standard
pmurias perl6: my $foo = 2;say $+foo; 15:44
p6eval pugs: OUTPUTĀ«*** Can't modify constant item: VUndefā¤ at /tmp/TPoVWsLEjq line 1, column 13-22ā¤ /tmp/TPoVWsLEjq line 1, column 13-22ā¤Ā»
..elf 24936: OUTPUTĀ«Can't call method "Str" on an undefined value at ./elf_f line 649.ā¤ at ./elf_f line 3861ā¤Ā»
..rakudo 35718: OUTPUTĀ«Scope not found for PAST::Var '$+foo' in ā¤current instr.: 'parrot;PCT;HLLCompiler;panic' pc 146 (src/PCT/HLLCompiler.pir:102)ā¤Ā»
15:45 |jedai| left, |jedai| joined
ruoso hmmm... 15:46
I was surprised to realize that :foo($bar) doesn't expect directly an EXPR inside the parens
but it is a full circumfix with a semilist inside
Whiteknight Okay, I just put through a commit that should fix this issue 15:47
if I could get some testers to double-check me, that would be awesome
jnthn tests
ruoso TimToady, can the compiler simplify :foo($bar) to take directly the EXPR inside the statement inside the semilist inside the postircumfix? 15:48
or is there a different possible use to that?
pmurias, $+foo doesn't look in the current scope... only in the caller scope and onward 15:49
(backward, actually) 15:50
15:50 Ehtyar left 15:51 tigreton is now known as tigreton2, tigreton2 is now known as tigreton
pmurias ruoso: Syntax.pod:1824 15:53
15:53 tigreton is now known as tigreton2 15:54 tigreton2 is now known as tigreton
jnthn Whiteknight: Looks encouraging. 15:55
tigreton bye
15:55 tigreton left
ruoso pmurias, that looks like an exception 15:55
jnthn Whiteknight: Running spectest to be really sure, but think it's fixed. Thanks! 15:56
Whiteknight++ 15:57
Whiteknight don't thank me, curse whoever wrote this code originally
okay, I'm logging off for the afternoon probably. Talk to you gentlemen later 16:00
16:00 Whiteknight left
pugs_svn r24937 | pmurias++ | [mildew] 16:01
r24937 | pmurias++ | use SDL::App:from<perl5> calls $P5Interpreter.eval('use SDL::App')
16:02 cai joined
pmurias ruoso: we have to figure out what to we want an use Foo::Bar:from<perl5> to export 16:02
16:02 aindilis left
pmurias s/to/do 16:03
masak Whiteknight++ 16:04
pmurias we could run the 'use Foo::Bar' using Safe.pm and expose whatever appears in main:: afterwards 16:05
ruoso: seems sane?
16:06 aindilis joined 16:20 [particle]1 joined 16:25 namenlos left 16:27 _jedai_ joined 16:28 |jedai| left 16:29 HyP is now known as HyP|away, DemoFreak left 16:30 DemoFreak joined 16:38 [particle] left
szabgab After NPW there is going to be a Perl6 hackathon I am planning to participate, others whom are interested, please put your name on 16:42
www.perlfoundation.org/perl6/index....katon_2009
masak is interested 16:44
szabgab: (that's not the way to use 'whom')
szabgab whome maybe? 16:45
masak szabgab: it's like this: 'who' and 'whom' are like 'they' and 'them'. you can tell that 'them are interested' sounds wrong. so does '...whom are interested'. 16:46
szabgab: 'whome' does not exist as a word in English.
...AFAIK.
szabgab ah typo++, 16:47
so how would I say that ? others that are interested ?
masak 'that', or 'who', works. 16:48
szabgab oh crap, just put your name on the wiki :-)
masak I did.
I'm not _just_ a grammar nazi. :P 16:49
I also do things.
szabgab np :-) 16:51
in the end we'll have to ask TimToady about that sentence 16:52
masak not really.
the thing about 'whom' in English is that it's not really needed in current usage. so when it is used wrongly, it sounds grating for at least two reasons. 16:53
16:53 aindilis left 16:54 aindilis joined
jnthn whom is dead. 16:58
In a generations time, it should be mostly forgotten. :-)
masak thing is, I really like some sentences that has'em. :) 16:59
Khisanth replaced by a one letter equivalent? :p
masak 'to who it may concern' doesn't sound nearly as good... 17:00
17:02 brunoV joined
ruoso pmurias, hmm 17:06
I think we don't need to support export by default
we might support explicit import of symbols 17:07
like...
17:07 cai left
ruoso use CGI:from<perl5> <header h1>; 17:07
would import the symbols header and h1
pmurias export by default will require use-ing the perl5 module at compile time 17:10
17:10 gravity joined
pmurias ruoso: the thing i have most doubts about when should ::CGI be exported 17:11
ruoso what do you mean?
pmurias we need a protoobject for CGI.new to work 17:12
ruoso ah... I see..
yes, we need a P5Package object
that we register as 'CGI::', 'CGI' and '&CGI := { CGI }' 17:13
and CGI.new is the same as CGI::.new in P5
pmurias why do we register &CGI?
ruoso because CGI.new is parsed as CGI().new() 17:14
17:15 _jedai_ left, |jedai| joined
diakopter ruoso: I'm here now 17:16
pmurias: same
pmurias diakopter: hi
ruoso diakopter, hi
diakopter how should those parameters look
pmurias none at all 17:17
diakopter hm, ok
pmurias m0ld_exe doesn't receive parameters
ruoso: only because is_type is not filled in correctly in STD
diakopter: did you change SConstruct? 17:18
diakopter yeah, I had to, some 17:19
I don't have 'cat'
but anyway, it's stuck at the same spot now.
meppl good night 17:20
pmurias diakopter: what you could do is to commit your changes and i'll see if it works correctly on linux 17:21
17:22 meppl left
diakopter after line 154 of control_exception_return.c is emitted, sm0p.exe is hanging/pausing 17:23
perl6.pastebin.com/f3a71b9b4
buubot diakopter: The paste f3a71b9b4 has been copied to erxz.com/pb/14915
17:24 mtnviewmark joined
pmurias diakopter: .ri files are emitted by tools/ri not sm0p.pl 17:25
mtnviewmark std: $foo.~^
p6eval std 24937: OUTPUTĀ«############# PARSE FAILED #############ā¤Syntax error at /tmp/cWFHYolBOG line 1:ā¤------> $foo.~^ā¤ expecting postfix_prefix_meta_operatorā¤00:05 86mā¤Ā»
diakopter pmurias: I don't see how that applies to my situation
mtnviewmark std: $foo.:~^ 17:26
p6eval std 24937: OUTPUTĀ«############# PARSE FAILED #############ā¤Obsolete use of . to concatenate strings; in Perl 6 please use ~ instead at /tmp/jhTO9QQTHC line 1:ā¤------> $foo.:~^ā¤ expecting dotty method or postfixā¤00:05 86mā¤Ā»
mtnviewmark aha!
pmurias diakopter: the should be no such thing as sm0p.exe 17:27
ruoso pmurias, is_type isn't looked for in CGI.new
mtnviewmark so .:<prefix> doesn't work as per Syn03...
diakopter pmurias: what should the sm0p executable be named?
pmurias diakopter: is the paste smop related
ruoso pmurias, it is looked in places like "does Foo" or "is Foo"
masak mtnviewmark: hello. what doesn't work as per Syn03, you say?
pmurias diakopter: what do you mean by the sm0p executable 17:28
diakopter pmurias: yes, it's one of the 3 threads in sm0p.exe while it's "hung", the most active one
mtnviewmark hello masak
Syn03 says .:<postfixop> is a method call op
diakopter pmurias: the one that's built by Setup.exe
mtnviewmark but, on my reading of STD.pm it wasn't so I checked here
and, it isn't
ruoso diakopter, that's m0ld.exe
pmurias m0ld_exe.exe
diakopter oh, ok
masak mtnviewmark: that might have been deprecated.
diakopter I must have mistyped sm0p somewhere then 17:29
ruoso diakopter, there is also sm0p.pl
masak mtnviewmark: ISTR that filetest adverbs :x got desugared to .:x before, but .x now.
mtnviewmark okay - I'll write up my findings on methodcall operators - as STD is a bit far from Syn03...
diakopter sorry, I meant m0ld.exe is hanging
ruoso diakopter, it's probably waiting for input 17:30
are you sure it is receiving the data via stdin?
mtnviewmark but AFAICT there is no dotted from of prefix operators anymore
pmurias diakopter: could you paste your SConstruct
?
diakopter ruoso: it did indeed output 154 lines of control_exception_return.c
masak mtnviewmark: prefix operators? 17:31
mtnviewmark masak - do you know what .^!method and !method are? the later is named privop in STD
masak - right there is a dotted from of postfix operators: .++ and .i for example
masak mtnviewmark: aye, they are calls/references to private things in classes.
mtnviewmark (wonders how .i is parsed.. operator? or method name?) 17:32
ruoso diakopter, right... maybe tools/ri is trying to talk to m0ld_exe but it's not being able to send the input data
mtnviewmark std: $p!seekret(42)
masak mtnviewmark: TimToady++ decided the other day to always treat .i as a method.
p6eval std 24937: OUTPUTĀ«00:05 86mā¤Ā»
jnthn mtnviewmark: .i I think with latest tweaks is...what masak said. :-)
masak :)
mtnviewmark what? not as an operator? so 3 + 4i is gone? now 3 + 4.i
jnthn No 17:33
masak mtnviewmark: no 4i is still there.
jnthn 3 + 4i will work
3 + 4.i wouldn't
mtnviewmark well, in that case i is an operator --
masak sure.
mtnviewmark ah - just .i was the adjudicated result... got it 17:34
masak it just doesn't have a .i form.
ruoso diakopter, can you try to debug tools/ri ?
mtnviewmark so - what is .:method if no longer the dotted form of prefix opeerators?
diakopter ruoso: perl6.pastebin.com/f2a0d8da0
buubot diakopter: The paste f2a0d8da0 has been copied to erxz.com/pb/14916
diakopter ruoso: yes, give me a few minutes 17:35
masak mtnviewmark: I have no idea. I hardly understand the question. :/ 17:36
ruoso diakopter, I don't understand windows command expansion...
but the way tools/ri is called seems wrong to me
17:36 kst``` left
diakopter how does it seem wrong? all I changed was how the $SOURCE is fed 17:36
17:36 kst``` joined
mtnviewmark doesn't think that windows command expansion is deterministic! :-) 17:36
okay - well, i've got to go now - I'll send my methodcall findings out later today! 17:37
caio!
17:37 mtnviewmark left 17:41 justatheory joined
diakopter ruoso: screenshot of process explorer for the process tree. imagebin.ca/view/0Ozu8GM.html 17:43
ruoso, believe it or not, cmd.exe does handle the nested double-quotes correctly, afaict/afaik. 17:45
diakopter installs ActiveState's interactive gui debugger 17:46
masak ok, I'm withdrawing for the evening to concentrate on too many Chinese characters for tomorrow. see y'all. 17:47
17:47 masak left
diakopter ruoso: any thoughts? 17:52
17:59 vixey joined 18:00 |jedai| left, HyP|away is now known as HyP, |jedai| joined, ayrnieu joined 18:03 Casan joined 18:10 brunoV left
diakopter ruoso: okay, I'm now stepping through tools/ri 18:14
ruoso check if it is calling m0ld correctly 18:15
diakopter how will I be able to tell?
ruoso what are the parameters send to open3 18:16
?
s/send/sent/
does Open3 works as expected in Windows? 18:18
18:18 moritz_ left, moritz_ joined
moritz_ re 18:19
lambdabot moritz_: You have 1 new message. '/msg lambdabot @messages' to read it.
diakopter ruoso: @_[3] in open3() is "m0ld.exe"; that's the only parameter that stringifies to anything other than "" 18:21
18:22 HyP is now known as HyP|away
ruoso diakopter, so after that step, does it write to m0ld? 18:22
where does it hang? 18:23
diakopter I'm not sure I can trace the fh with this debugger...
ruoso ok... go step by step, and tell me where it hang? 18:24
diakopter during the exec @cmd in Open3.pm 18:25
18:26 |jedai| left
diakopter I'm pretty confident IPC::Open3 has been specifically tweaked to work well in this Strawberry Perl 18:26
18:27 |jedai| joined
diakopter but yeah it's starting to seem as if it's not sending input to m0ld.exe 18:27
ruoso try open2 instead
18:28 DemoPhreak joined
ruoso (does win32 have a stderr?) 18:28
diakopter heh; the graphical debugger didn't appreciate me killing the whole process tree
yes
ruoso: switching it to use open2() helped 18:34
it seems to have finished writing to control_exception_return.c
ruoso cool
pugs_svn r24938 | ruoso++ | [mildew] starting the support for named parameters. support for colonpair and fatarrow. added nibbler vast type... only the signature handling is missing; 18:35
ruoso diakopter, I think you can commit the version using open2
there shouldn't be much harm
diakopter ruoso: ok
ruoso: but, see this paste 18:36
erxz.com/pb/14921 18:37
ruoso diakopter, is the control_exception_return compleete? 18:38
diakopter ruoso: well, there aren't any incomplete blocks at the end :) I don't know what the last block should be, though
ruoso diakopter, for some reason scons seems to think your compiler is named 'cl'
diakopter, is there something that looks like the output from m0ld? 18:39
diakopter what does the output of m0ld look like?
ruoso a function call with a lot of numbers as arguments
numbers and C symbols, that is 18:40
18:40 [particle] joined
diakopter in the .c file? no. 18:40
also, m0ld.exe is still running (twice), orphaned 18:41
ruoso hmm... ok... so it looks like it didn't work as expected
the warnings were pointing in that direction
18:41 |jedai| left
pugs_svn r24939 | moritz++ | [t/spec] 18:41
r24939 | moritz++ | * wrote tests for multis with multiple signatures
r24939 | moritz++ | * corrected redo.t
r24939 | moritz++ | * some unfudges
r24939 | moritz++ | * fixed slurpy-params-2.t to use [+] @a instead of @a.sum
ruoso diakopter, it sure has to do with IPC in windows
diakopter yeah 18:42
ruoso need to go for a while...
ruoso later &
18:43 DemoFreak left, |jedai| joined
pugs_svn r24940 | moritz++ | [t/spec] unfudge subref.t for rakudo 18:43
18:45 [particle]1 left
diakopter pmurias: what do you think about me trying to make tools/ri read and write to files based on filename parameters and not STDIN,STDOUT 18:45
I mean as an attempted solution, not necessarily a permanent change
ruoso diakopter, feel free to try it 18:49
18:52 Psyche^ joined 19:03 Patterner left, Psyche^ is now known as Patterner 19:10 DemoPhreak is now known as DemoFreak
pugs_svn r24941 | ruoso++ | [mildew] named parameters working!!!! YAY!!! 19:12
19:13 ZuLuuuuuu joined
pugs_svn r24942 | ruoso++ | [smop/src-s1p] remove uncessary parens 19:13
ruoso and that means Multi.pm can be compiled! 19:14
pugs_svn r24943 | moritz++ | [t/spec] fudge submethods.t to be runnable (but doesn't pass yet) 19:17
ruoso we now need the mildew so loader
jnthn moritz_: Is that, none of it passes? 19:18
I think I looked at that and it was the lexicals outside classes issue getting in the way as much as anything...
moritz_ jnthn: that's right 19:19
jnthn added submethods just the other day
Then looked to add that test file and realized we couldn't...and I think that was about the last thing I did on Rakudo. :-) 19:20
ruoso mildew: sub foo(:$named) { $OUT.print($named.FETCH)}; foo(:named<Hello from Mildew>);
p6eval mildew: OUTPUTĀ«Can't locate object method "emit" via package "AST::Pair" at src/AST.pm line 255.ā¤Ā»
ruoso hmm... outdated eval
19:22 kst```` joined, kst``` left
ruoso pmurias, I think I'll create another directory in smop to host prelude that is already compilable, and make smop load that prelude from start 19:22
pugs_svn r24944 | moritz++ | [t/spec] unfudge passing test in basic-types.t for rakudo 19:32
r24945 | moritz++ | [t/spec] more unfudges 19:33
r24946 | moritz++ | [t/spec] another unfudge 19:34
19:35 s1n left, s1n joined, s1n left
ruoso mildew: sub foo {$OUT.print("gone")}; sub bar(|$capture) { &foo.postcircumfix:<( )>((|$capture),:cc(&?ROUTINE.back)); $OUT.print("won't print") }; bar(); $OUT.print("mad"); 19:37
p6eval mildew: RESULTĀ«Use of uninitialized value in hash element at ../../src/perl6/Cursor.pm line 819.ā¤Use of uninitialized value in concatenation (.) or string at ../../src/perl6/Cursor.pm line 881.ā¤Can't call method "emit_m0ld" on an undefined value at src/VAST/noun.pm line 34.ā¤Ā» 19:38
ruoso hmpf... still outdated 19:40
moritz_ do I need to do anything else than building smop?
(which I just did) 19:41
19:41 cannedfish joined
ruoso moritz_, I think you need to rebuild std, and cleanup lex/ 19:42
moritz_ ruoso: try again please 19:44
ruoso sub foo { $OUT.print("gone\n") }; sub bar(|$capture) { &foo.postcircumfix:<( )>((|$capture),:cc(&?ROUTINE.back)); $OUT.print("won't print\n"); }; bar(); $OUT.print("mad\n");
mildew: sub foo { $OUT.print("gone\n") }; sub bar(|$capture) { &foo.postcircumfix:<( )>((|$capture),:cc(&?ROUTINE.back)); $OUT.print("won't print\n"); }; bar(); $OUT.print("mad\n"); 19:45
p6eval mildew: RESULTĀ«(null pattern for prefix_circumfix_meta_operator:*) at ../../src/perl6/Cursor.pm line 464.ā¤Can't call method "emit_m0ld" on an undefined value at src/VAST/noun.pm line 34.ā¤Ā» 19:46
moritz_ sh: line 1: 10544 File size limit exceededperl mildew /tmp/hLS5dzUjs9 >> /tmp/yLLJCp6LkD 2>&1
ruoso: I can increase that limit - how much space do you need?
19:47 cannedfish left
ruoso the question is how mucg std needs 19:47
19:48 [particle]1 joined
moritz_ I don't think STD.pm writes so much into one file 19:48
pugs_svn r24947 | moritz++ | [evalbot] increase max file size limit
19:48 p6eval left 19:49 p6eval joined 19:51 On left, On joined
pmurias ruoso: the mildew so loader works 19:52
moritz_ mildew: sub foo { $OUT.print("gone\n") }; sub bar(|$capture) { &foo.postcircumfix:<( )>((|$capture),:cc(&?ROUTINE.back)); $OUT.print("won't print\n"); }; bar(); $OUT.print("mad\n");
p6eval mildew: OUTPUTĀ«goneā¤madā¤Ā»
20:01 jisom joined, jisom left 20:03 [particle] left, c9s_ joined 20:07 _jedai_ joined, kisu_ joined, |jedai| left 20:08 Sepheebear left 20:11 kisu left 20:16 s1n joined 20:20 c9s left 20:24 aindilis` joined
rakudo_svn r35722 | moritz++ | [rakudo] add four files and a bit more documentation to t/spectest.data 20:30
20:37 aindilis left
ruoso moritz_++ 20:38
and now you saw mildew call/cc
mildew: sub foo(:$named) { $OUT.print($named.FETCH)}; foo(:named<Hello from Mildew>); 20:40
p6eval mildew: OUTPUTĀ«Can't locate object method "emit" via package "AST::Pair" at src/AST.pm line 255.ā¤Ā»
ruoso interesting...
20:41 [particle] joined, _jedai_ left
ruoso hmm... that means I didn't implement the compiler hack for named argument in routine call... 20:42
20:42 |jedai| joined 20:46 kst```` left, kst```` joined 20:52 HyP|away is now known as HyP
pugs_svn r24948 | moritz++ | [t/spec] correct a test in code.t, and add another one for RT #62432 20:55
20:59 [particle]1 left, HyP left 21:09 s1n left 21:14 meltingwax joined
pugs_svn r24949 | ruoso++ | [mildew] implement the named args compiler hack in VAST::term; 21:16
21:18 s1n joined
rakudo_svn r35724 | moritz++ | [rakudo] correct file name in spectest.data 21:20
21:22 ejs1 joined 21:27 ejs left
pugs_svn r24950 | moritz++ | [t/spec] regression tests for RT #62006 21:38
21:38 jhorwitz left 21:43 s1n left 21:44 vixey left 21:46 donaldh joined 21:47 s1n joined 21:49 ZuLuuuuuu left 21:51 shinobi-cl joined
shinobi-cl hello every1! 21:51
moritz_ good localtime 21:52
shinobi-cl can i have your attention for a little?
i just started a perl6 wiki
on perl6 dot wikia dot com
i just have one article by now :( and it sucks hehe
you are all welcome to contribute ! 21:53
moritz_ shinobi-cl: why another wiki? we already have a few
most prominently www.perlfoundation.org/perl6/index.cgi?perl_6 which links to most others 21:54
shinobi-cl thhat wiki is sooo incomplete 21:55
moritz_ right
jnthn moritz_: Fudge fail? I get
t\spec\S12-attributes\mutators.rakudo 23 2 24-25
moritz_ shinobi-cl: so is the new one
jnthn (failed that is) 21:56
moritz_ jnthn: I'll investiage
shinobi-cl well, but it only has a few hours of life
anyway, there it its:)
seeya, got to make more articles
moritz_ good luck!
jnthn moritz_: Oh, I think it's test count 21:57
1..23
moritz_ jnthn: aye
jnthn later
ok 24 - # SKIP class Proxy
ok 25 - # SKIP class Proxy
OK, cool, not so bad then. :-)
moritz_ I just counted them, there *are* 25 tests in that file 21:58
fix committed
21:58 kst```` left
pugs_svn r24951 | moritz++ | [t/spec] fix plan() noticed by jnthn++ 21:58
21:58 kst```` joined
moritz_ but I did find a fudge bug today 21:58
it forgets half of the file on 'make t/spec/S06-signature/slurpy-params-2.t' 21:59
@tell TimToady t/spec/fudge --keep-exit-code rakudo t/spec/S06-signature/slurpy-params-2.t emits an incomplete file, many tests are missing at the end 22:00
lambdabot Consider it noted.
22:09 Casan left 22:11 DemoFreak left
pugs_svn r24952 | moritz++ | [t/spec] some more unfudges found by autounfudge 22:20
22:27 spx2 joined 22:28 ST47 joined 22:29 dmpk2k left
pugs_svn r24953 | moritz++ | [t/spec] get rid of some passing TODO tests by skipping them until we get 22:31
r24953 | moritz++ | clarification from p6l
22:31 DemoFreak joined 22:35 Jedai left 22:36 Jedai joined
shinobi-cl just some advertising...New perl6 wiki, on perl6.wikia.com .....Please contribute with guides and how-to s!!!!! thanks! 22:36
22:37 shinobi-cl left 22:38 _jedai_ joined, |jedai| left, donaldh left 22:47 s1n left, s1n joined
moritz_ rakudo now passes 6352 spec tests 22:51
jnthn moritz_++ # nice! 22:58
23:01 ejs1 left 23:02 [particle]1 joined 23:03 pmurias left 23:04 shinobi-cl joined, jhuni joined
shinobi-cl hello 23:04
23:05 _jedai_ left, |jedai| joined 23:09 moritz__ joined
moritz__ the network in which the irclogs live seems very much down 23:10
23:15 moritz__ left 23:18 moritz_ left, ilbot2 left, [particle] left 23:22 iblechbot left
shinobi-cl hi! a new wiki about perlt is online: perl6.wikia.com 23:22
an article about reading binary files (seek, and all that) would be a nice addition :)
23:22 shinobi-cl left 23:23 shinobi-cl joined
diakopter shinobi-cl: you already mentioned it. 23:24
23:25 froele joined
froele hi guys 23:27
just wondering anyone actually used lua
23:31 moritz_ joined
froele does perl have TST 23:31
ternary search trees? 23:32
it's a fractal of binary trees.
23:32 ilbot2 joined
froele anyone familiar with this? 23:34
23:47 _jedai_ joined
froele anyone designed MUDs here? 23:47
perhaps a Multi-threaded MUD codebase in perl
23:47 |jedai| left
diakopter @tell scrottie froele asked about MUDs 23:48
lambdabot Consider it noted.
froele diakopter: who is scrottie? 23:49
23:50 pcbuetow left
diakopter froele: google him? 23:50
23:54 kst```` left, kst```` joined
froele yeah done 23:54
but anyone in here who will give me some direction on this
23:59 tristes_tigres joined, tristes_tigres left