pugscode.org/ | nopaste: sial.org/pbot/perl6 | pugs: [~] <m oo se> (or rakudo:, kp6:, smop: etc.) || We do Haskell, too | > reverse . show $ foldl1 (*) [1..4] | irclog: irc.pugscode.org/
Set by TimToady on 25 January 2008.
06:17 ilogger2 joined
spinclad perl6: say(42+1); 06:26
exp_evalbot kp6: OUTPUT[43␤]
..pugs: OUTPUT[43␤]
..rakudo: OUTPUT[43␤]
spinclad perl6: parse 'say(42+1);' 06:27
exp_evalbot kp6: OUTPUT[no method 'APPLY' in Class 'Undef'␤ at compiled/perl5-kp6-mp6/lib/KindaPerl6/Runtime/Perl5/MOP.pm line 345␤ KindaPerl6::Runtime::Perl5::MOP::__ANON__('HASH(0x824bd14)', 'APPLY', 'HASH(0x8e4eaac)') called at compiled/perl5-kp6-mp6/lib/KindaPerl6/Runtime/Perl5/MOP.pm line 169␤
..main::DISPATCH('HASH(0x824bd14)', 'APPLY', 'HASH(0x8e4eaac)') ca...
..pugs: OUTPUT[*** No such subroutine: "&parse"␤ at /tmp/8gZXNhqUG3 line 1, column 1 - line 2, column 1␤]
..rakudo: OUTPUT[Null PMC access in invoke()␤current instr.: '_block10' pc 31 (EVAL_11:15)␤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 785 (src/PCT/HLLCompiler.pir:458)␤called from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1067 (src/PCT/HLLCompiler.pir:587)␤called from Sub
..'parrot;PCT::HLLCompiler;command_line' pc 1246 (src/PCT/HLLCompiler.pir:676)...
Auzon oooh, that one broke nicely :P
06:28 justatheory joined
spinclad it knows how to parse, but knows not that it knows 06:28
Auzon What was it supposed to do? 06:29
TimToady turn into an AI
spinclad what, no omphaloskepsis? 06:30
no self-knowledge?
TimToady most OO languages are confused about "self" 06:31
spinclad 'yes, that's _your_ self, not _my_ self.'
06:34 justatheory left
spinclad Auzon: one could dream of it returning a parse-tree with <statementlist> in it. other than that, it did what it ought. 06:37
Auzon That's what I suspected 06:38
I'm a fan of code that you can ask "hey, what do are you trying to do with this input?" 06:39
spinclad 'hey, give it back. it's mine!'
'thief! programses! we hates them, yes we do!' 06:40
TimToady hey, I said it parsed it, not that it returned anything useful :) 06:41
Auzon The implications of programs acting like golem (it is golem who acts like that, right?) simply scares me.
spinclad it was baggins who acted like that. give us back our preciouss! 06:43
Auzon Yeah...
Then where did I get "golem" from?
spinclad gollum (aka Sméagol) 06:44
Auzon Aha
TimToady a golem is one of those undead things that wanders around cemeteries...
Auzon I thought he was the one that had the "my precioussss" lines 06:45
TimToady usually in Prague
spinclad (the golem was man creating a man in his own image)
i heard from Gerry Sussman that he, Marvin Minsky, and Joel Moses, all at MIT AI Lab/Lab for Comp Sci, were all descended from the Maharal of Prague, maker of the golem in question 06:49
jql wonders if men made from mud is metaphorically significant in #perl6 06:50
spinclad Joel felt it had deep meaning, Marvin thought it void of significance
Auzon It's kind of interesting that you mention the AI Lab, since that's trying to create intelligence in our own image. 06:52
spinclad ISTR that Gerry dedicated his thesis to the Maharal, "who first noted that 'and God created man in his own image' was recursive" 06:53
Auzon What is 'ISTR'? 06:54
TimToady I seem to recall
spinclad I Seem To Recall
Auzon I see. I haven't heard that one before
TimToady the question is, to *whom* do you seem to have recalled it... 06:55
spinclad yes, it's an interesting connection. one of the things Joel found profound.
.oO { i have recalled it to my mind, and called it to yours } 06:56
TimToady but surely you call something before you recall it...
spinclad i heard the call, i hear it still in the stillness... 06:58
i must recollect it before i can recall it to you
TimToady you'll have to remind yourself a few times first 06:59
me, I mind my wife, and then she reminds me...
spinclad sir! this time you go too far! _mind_ and i have agreed to never speak again. 07:00
TimToady well, for my part, it's about time for Mind over Mattress... 07:01
Auzon Good night then :)
TimToady g'night & zzz 07:02
spinclad pardon, i'm getting too silly here. i shall take your diagnosis and medicine for my own. 07:03
Auzon I found it amusing, for what it's worth
pugs: ln(1e6) 07:12
exp_evalbot OUTPUT[*** No such subroutine: "&ln"␤ at /tmp/AbJt0T67Va line 1, column 1 - line 2, column 1␤]
Auzon pugs: log(1e6)/log(2)
exp_evalbot RESULT[19.931568569324174] 07:13
Auzon oh right, ln wasn't what I wanted either
pugs: log(1e6)
exp_evalbot RESULT[13.815510557964274]
Auzon pugs: log(1e6)/log(10)
exp_evalbot RESULT[5.999999999999999]
Auzon Does log default to base e?
spinclad .oO { dreams of a natural base } .oO { looks like } 07:14
07:14 silug joined
Auzon pugs: log(1e6)/log(2.72) # close enough 07:14
exp_evalbot RESULT[*** ␤ Unexpected end of input␤ expecting operator or "}"␤ at /tmp/47hL0eooJJ line 2, column 1␤] 07:15
Auzon pugs: log(1e6)/log(2.72)
exp_evalbot RESULT[13.806786321572208]
Auzon yeah
spinclad -> bed & # perchance to dream 07:16
07:19 silug left 07:24 drbean joined
Tene blog.rafaelferreira.net/2008/04/cou...-dsls.html -- interesting 07:28
lambdabot Title: Rafael rambling: A couple of interesting DSLs, tinyurl.com/557jza
07:33 zakame_ joined 07:37 cosimo joined 07:38 zakame_ left, zakame_ joined 07:45 zakame joined 07:58 Chillance joined 08:00 zakame_ left 08:23 elmex joined, elmex left 08:26 ruoso joined 08:27 elmex joined 08:40 IllvilJa joined 08:43 cognominal_ joined 08:58 cognominal_ left 09:05 BinGOs joined 09:09 rhesa_ joined 09:18 silug joined 10:04 riffraff joined 10:13 iblechbot joined 10:56 Jedai joined 11:14 riffraff left 11:26 Psyche^ joined 11:45 Psyche^_ joined 11:46 Psyche^_ is now known as Patterner 11:48 Psyche^ left 11:51 gbarr joined
moritz_ re 11:58
[particle1: ping 12:05
12:27 meppl joined 12:33 iblechbot left 12:53 IllvilJa left, IllvilJa joined 12:59 iblechbot joined 13:15 pmurias joined
moritz_ [particle1: ping timeout ;/ 13:17
13:29 rdice joined 13:35 cmarcelo joined
pugs_svnbot r20249 | rhr++ | [evalbot] add a \n so it doesn't get confused by comments in the program 13:39
diff: dev.pugscode.org/changeset/20249
lambdabot Title: Changeset 20249 - Pugs - Trac
13:47 integral joined 14:07 chris2 joined 14:08 TJCRI joined 14:12 alester joined 14:35 aindilis joined 14:37 sscaffidi joined 15:01 elmex left 15:02 armagad joined 15:32 cookys joined 15:35 Caelum joined 16:01 Daveman joined 16:16 justatheory joined 16:21 stevan_ joined, stevan_ left, stevan_ joined 16:22 sri_work joined, justatheory left, justatheory joined 16:23 zakame_ joined 16:24 kst joined 16:38 zakame left 16:50 wtgee joined, barney joined 16:51 rindolf joined 16:58 meppl left 17:05 wtgee left, wtgee joined 17:07 ruoso left 17:35 ofer joined 17:44 ofer left 17:53 electrogeek joined 18:05 eternaleye_ joined 18:15 loko999 joined 18:19 ruoso joined 18:30 loko999 left 18:35 Foke2 joined 18:46 eternaleye_ left, eternaleye_ joined 19:12 dduncan joined 19:23 wtgee left 19:24 wtgee joined, wtgee left 19:27 wtgee joined 19:37 thoughtpolice joined 19:46 Muixirt joined 20:03 sri_work left 20:08 rindolf left, barney left 20:19 electrogeek left 21:01 jan_ joined 21:07 TJCRI left 21:11 armagad_ joined 21:17 armagad left 21:28 rdice left 21:29 Lorn joined 21:33 wtgee left 21:41 pmurias left 21:55 sscaffidi left 21:59 iblechbot left 22:03 rdice joined, rdice left 22:23 cmarcelo left 22:24 dduncan left 22:25 Limbic_Region joined 22:30 justatheory left 22:34 mncharity joined 22:39 chris2 left 22:40 eternaleye_ left
mncharity lol # we have such fun backlogs :) 22:41
22:45 cognominal_ joined 22:49 alester left
mncharity hmm. It would be nice if STD5_run returned an error if the requested rule didn't exist. eg, statmentlist :P 22:50
TimToady there are lots of it-would-be-nices in the world 22:53
22:54 meppl joined
Juerd I expect them ALL to be implemented by christmas. 22:54
TimToady it would be nice 22:55
Juerd It would the nicest would-be christmas :)
22:57 rhesa_ left
mncharity re nice, any objection to STD5_run changing to eval a require+parse, rather than the current system()? 22:57
TimToady you wrote it, you can do whatever you like with it. :) 22:58
22:58 thoughtpolice left
mncharity hmm... green and red flashing lights... 22:58
TimToady I basically only run it to do the equivalent of "make", and then go back to ./try 22:59
so I have no objections
23:00 peepsalot joined
pugs_svnbot r20250 | putter++ | elf/TESTS: Added passing v6/v6-KindaPerl6/t/kp6/*.t 23:03
diff: dev.pugscode.org/changeset/20250
lambdabot Title: Changeset 20250 - Pugs - Trac
23:04 Chillance left 23:06 Limbic_Region left
mncharity re make, ah, ok 23:08
23:14 cmarcelo joined 23:18 Limbic_Region joined
pugs_svnbot r20251 | putter++ | src/perl6/STD5_run: Complains if the requested start rule doesn't exist. Explicitly reports parse failure. 23:30
diff: dev.pugscode.org/changeset/20251
lambdabot Title: Changeset 20251 - Pugs - Trac 23:31
23:43 [particle1 joined
mncharity Not sure if the switch to Class::Multimethods is more than temporary. Really want a derivative instead. 23:51
pugs_svnbot r20252 | putter++ | [elf_d] Switch to using Class::Multimethods for multi methods.
diff: dev.pugscode.org/changeset/20252
lambdabot Title: Changeset 20252 - Pugs - Trac
23:53 eternaleye_ joined, xinming_ joined