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.
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
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.'
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
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
Tene blog.rafaelferreira.net/2008/04/cou...-dsls.html -- interesting 07:28
lambdabot Title: Rafael rambling: A couple of interesting DSLs, tinyurl.com/557jza
moritz_ re 11:58
[particle1: ping 12:05
moritz_ [particle1: ping timeout ;/ 13:17
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
mncharity lol # we have such fun backlogs :) 22:41
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
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 :)
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
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
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
mncharity re make, ah, ok 23:08
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
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