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.
Gothmog_ In general, it's not possible to access the k'th element of a list without touching every element. 00:06
s/a list/a sorted list/ 00:12
lichtkind Gothmog_: shure 00:13
Gothmog_: gut nacht 00:37
pugs_svnbot r20199 | agentz++ | feather/syn_index.html - claims that the index page itself is updated every 1 hour rather than a few minutes 02:24
diff: dev.pugscode.org/changeset/20199
lambdabot Title: Changeset 20199 - Pugs - Trac
meppl good nighte 02:25
pugs_svnbot r20200 | putter++ | [elf] STD_red r20198 forked to become a stable parser for the increasingly shushy elf_a and elf_b. 04:22
diff: dev.pugscode.org/changeset/20200
lambdabot Title: Changeset 20200 - Pugs - Trac
pugs_svnbot r20201 | putter++ | [elf_c] Created from elf_b. Purpose is to refactor elf_b, gain the ability to easily create derivative implementations, and to support elf_d development. 05:16
diff: dev.pugscode.org/changeset/20201
lambdabot Title: Changeset 20201 - Pugs - Trac
Muixirt It seems it is about the right time to announce a new perl6 implementation completely written in assembler 13:05
pmurias Muixirt: what would be the advantage of it being written in assembler? 13:19
Muixirt pmurias, speed? 13:20
pmurias over a C based one?
Muixirt of course 13:21
diakopter pmurias: perhaps remember today's date 13:22
Muixirt pmurias, and a C compiler doesn't utilize things like SSE and MMX 13:23
pmurias pir is an assembly language
Muixirt that's right, you only have to invent a cpu for that 13:24
pmurias perl6 staying in pir would forever would be a pretty grim joke 13:26
cj o/ 14:23
PerlJam er, wha happun? 18:52
kolibrie PerlJam: looking through the logs, looks you timed out and disconnected about 8 hours ago 18:55
PerlJam weird. All my other channels stayed up just fine (on this and other irc networks) 18:56
kolibrie that is strange
gbacon People are strange / When you're a stranger / Faces look ugly / When you're alone 19:09
pmurias mncharity: how will backends be written in elf_z? using multis 19:53
?
pugs: eval 'say 3' 19:55
exp_evalbot OUTPUT[3␤] 19:56
pmurias pugs: eval :language('perl6')m'say 3'
exp_evalbot OUTPUT[*** Named argument found where no matched parameter expected: ("language",Ann (Pos (MkPos "/tmp/GsECZ3kcWa" 1 16 1 23)) (Val (VStr "perl6")))␤ at /tmp/GsECZ3kcWa line 1, column 1 - line 2, column 1␤]
pmurias pugs: eval :language('perl6'),'say 3'
exp_evalbot OUTPUT[*** Named argument found where no matched parameter expected: ("language",Ann (Pos (MkPos "/tmp/HPk2yxY9Z6" 1 16 1 23)) (Val (VStr "perl6")))␤ at /tmp/HPk2yxY9Z6 line 1, column 1 - line 2, column 1␤]
cj you're screwing up my screen session
pmurias cj: sorry
cj :)
pmurias cj: maybe you now what the valid incatation for evaling p5 code is? ;) 19:57
cj from p5? :) 19:58
from p6, I guess it may be something like C<<use v5; printf( "moo\n" );>> 19:59
mncharity pmurias: re elf_z, multis, any way you want them to be? ;)
pmurias pugs: eval 'say 3'
exp_evalbot OUTPUT[3␤]
pmurias pugs: eval 'say 3','perl5'
exp_evalbot OUTPUT[3␤]
pmurias pugs: eval 'my %hash;$hash{a}=2;print $hash{a}','perl5' 20:00
exp_evalbot RESULT[undef]
pmurias cj: found it in the test suit eval(q/"self is $self"/,:lang<perl5>) 20:02
mncharity more near term, I'm hoping to do a new IR in the next day or two, plus some other bits, and then point out you can write something like svn.pugscode.org/pugs/misc/elf/elf_...fromIR0.pm and svn.pugscode.org/pugs/misc/elf/elf_c_src/ElfC.pm and then just say ../..../elf_d -x -o myownp6 MyOwnCompiler.pm .
lambdabot tinyurl.com/2t6a88
cj pmurias: nice 20:03
mncharity where MyOwnCompiler.pm is of course welcome to look just like ElfC.pm but for whichever modules you wish to swap out. it could also be nice to have class MyEmitter is TheElfDEmitter { ... just a few changes if you like ... }, but we'll see. 20:05
cj mncharity: yes, yes, yes.
mncharity :)
cj does MyOwnCompiler.pm inherit from SomeGenericCompiler.pm?
mncharity at the moment, well, ElfC.pm doesn't do anything. it's a list of use()s. but the very short-term intent is for ElfC.pm to merely be a convenience hack. "you've asked for whole program compilation of ElfC.pm, and I see it use()s these other modules, so I'll compile them too". advantage over "here is a list of files" is that the modules are free themselves to use(), 20:08
cj mncharity: why doesn't the kp6 guy ever hang out here?
pmurias cj: fglock? 20:09
cj yes, him
mncharity and thus refactor without impacting users, and it permits using -I to override modules. eh, it's a hack. but seemed pretty, perhaps convenient, and not entirely unprincipled.
re fglock, no idea. 20:11
though for myself, I've followed a "work on some p6 thing intensively for a while, which becomes increasingly unattractive as it bogs down or fails to attract interest, or the apparent need for it goes away, or life demands more attention, and so I'm not around much" pattern over the years. 20:13
cj yes... I have that problem, too... but I don't realize when life is trying to get my attention and end up losing out on that instead. oops. 20:15
pmurias perl elf_c -e 'say 3' 20:16
Can't call method "elems" on unblessed reference at elf_c line 1756.
mncharity: will the "DSLs" stay in higher elf version or will the be replace by higher forms of (meta)programming? 20:17
mncharity re oops, lol. oh yeah. 20:50
pmurias: sorry, I was off having an elf conversation in #parrot. re elf_c, checking... 20:51
re DSLs, bbiam
mncharity perl elf_c -e 'say 3' gives me 3 for both 5.8.8 and 5.10.0 . with elf_c from r20201. Though 5.10 decorates it with "v-string in use/require non-portable at /usr/local/lib/perl5/site_perl/5.10.0/autobox/Core.pm line 16.". :/ 20:54
mncharity pmurias: do you have the current version of autoload, autoload::Core? 20:54
elems is coming from autoload::Core, and that sounds like a "autoload intervention isn't happening" issue. 20:55
mncharity pmurias: sorry about the 1/2 latency on my response. :( the have multiple simultaneous irc channel conversations is a "skill I have no trace of but really should develop". :/ 20:57
*1/2 hour
mncharity re DSLs, the current plan is for the ast-to-ir-handlers, and the core ir node code writing, to remain metaprogrammed, but become file-specific (rather all being together, as in the current elf_b_create.pl), and the resulting code being checked in. so people who use those modules don't have to care how the module is being written/maintained (any more than CPAN authors do). 21:16
s/authors/users/
I'm slightly tempted by making the dsl's look like p6 code with macros. but I don't think the cost/benefit is worth it yet. 21:17
mncharity so I spent some of today on #parrot, answering questions about elf and such. There's a log at www.parrotcode.org/misc/parrotsketc...t.20080401 , but it's not easily readable. not sure it really matters, but fyi. 21:27
lambdabot tinyurl.com/3bkv6o
mncharity looks like svnbot might be down? 21:35
svnbot is either down, or now has significantly greater latency than previously. 21:37
mncharity Juerd, etal?: ^^^ fyi. 21:38
irc is almost as bad as meetings. T+2ish hrs, and barely a line of code which didn't exist at T. :/ 21:39
anyway, the last three, well, three of the recent svn checkins were adding Moose and autobox version checking to elf_b and elf_c. pmurias++ 21:47
diakopter resurrects pugs_svnbot, which never rejoined this morning after the transitory feather hiccup. 22:02
mncharity diakopter++ 22:19
mncharity rewelcomes our svnbot overlord.
pugs_svnbot r20205 | putter++ | [elf_d] begins with Notes.txt - an unexamined pile of assorted p6 IR node sets. 22:47
diff: dev.pugscode.org/changeset/20205
lambdabot Title: Changeset 20205 - Pugs - Trac