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.
00:03 dalek left, dalek joined 00:04 eternaleye joined, BinGOs joined 00:11 BinGOs left 00:14 thoughtpolice left, dalek left, dalek joined 00:20 Alias_ left 00:21 dalek left, dalek joined 00:22 cjfields joined 00:23 wtgee left 00:46 Khisanth left 00:47 Khisanth joined 00:49 dalek left, dalek joined 00:50 ingy joined 00:52 dalek left, dalek joined 00:59 dalek left, dalek joined, cjfields left 01:03 nipotaway is now known as nipotan 01:06 Zomn joined 01:09 mncharity joined 01:13 alanhaggai joined
pugs_svnbot r20290 | putter++ | [elf_e] propagate r20289 to the executables. 01:15
diff: dev.pugscode.org/changeset/20290
lambdabot Title: Changeset 20290 - Pugs - Trac
01:15 armagad left 01:21 yewenbin joined 01:35 thoughtpolice joined 01:38 ajs_home joined 01:43 Limbic_Region left 02:26 armagad joined 02:28 armagad_ joined 02:31 FurnaceBoy left, Morasique joined
Morasique does anybody know how to call a parent method from within a child class? i'm told it's .SUPER.method(), but it doesn't seem to be working 02:37
mncharity Morasique: which perl6 implementation? 02:42
Morasique mncharity: pugs
02:42 armagad_ left
Morasique 6.2.13 02:43
02:43 alanhaggai__ joined
mncharity pugs: class A { method m(){say 3}} class B is A{method n(){say SUPER}} B.new.n() 02:43
exp_evalbot OUTPUT[*** No such subroutine: "&SUPER"␤ at /tmp/YXs1yJZOJ8 line 1, column 58-63␤]
mncharity pugs: class A { method m(){say 3}} class B is A{method n(){say self.SUPER}} B.new.n() 02:44
02:44 alanhaggai left, armagad left, alanhaggai__ is now known as alanhaggai
mncharity pugs: class A { method m(){say 3}} class B is A{method n(){say SUPER}} B.new.n() 02:44
exp_evalbot OUTPUT[*** No such subroutine: "&SUPER"␤ at /tmp/PFCi5LK3km line 1, column 58-63␤]
mncharity i don't see many tests for SUPER, and none of that flavor, in t/oo/*.t, which strongly suggests it's not implemented. 02:46
Morasique ok, thanks
mncharity Morasique: if you don't mind me asking, what are you working on? there's another implementation, elf, currently also without SUPER, but to which it would be much more easily added. 02:49
Morasique i'm in an undergraduate group working on a small project, we had to choose a language we didn't already know so we're going with perl 6. we can work around it, it's not a major problem, i just figured it was implemented and i was making a mistake somewhere 02:51
02:52 [particle] joined
mncharity ah. ok. note that pugs has a lot of rough edges. a common experience is spending a lot of time struggling to work around pugs implementation bugs. and for larger projects, struggling unsuccessfully. 02:54
depending on the project, I'd be hesitant to use it myself. 02:55
Morasique yeah, i imagine this would be pretty bad if we were doing a larger project, but we should be ok for this. thanks 02:59
03:00 [particle1 left
mncharity np 03:03
03:05 Morasique left 03:17 wknight8111 left 03:26 alester joined, cathyal joined
pugs_svnbot r20291 | putter++ | [elf_e] Fleshing out regex parsing. 03:40
r20291 | putter++ | [STD_red] same.
diff: dev.pugscode.org/changeset/20291
lambdabot Title: Changeset 20291 - Pugs - Trac
03:42 alester left
mncharity development path big picture is (1) eat yet_another_regex_engine (node analysis, core, emitters, test suite), and get it working; then (2) contemplate STD.pm hungrily. 03:45
Auzon Does #2 imply a full Perl 6 implementation? 03:46
well, the completion. Contemplating is different from running it :P 03:48
03:48 meppl left
mncharity re full, no. a very great deal of work remains to create a full Perl 6 implementation. but a p6-based version of STD would allow discarding STD_red, and by providing a p6 front end, thus hypothetically make elf a full bootstrap. 03:50
instead of elf just being a backend bootstrap. 03:51
lot of swamp between here and there. 03:52
Auzon I didn't know that elf used Ruby...
mncharity elf uses STD_red to parse code and produce a Match tree. 03:53
Auzon You make this all sound deceptively easy ;) 03:55
mncharity :)
Auzon Well, good luck to you. I hope to play with this stuff once summer begins for me. 03:58
04:00 agentzh left
mncharity once you have something which can parse p6, taking that parse tree, and for some small but usable dialect, emitting usably fast code, isn't really enormously difficult. it's that first step which we've historically been stuck on. once one has a usable p6-like implementation, then there's the really big third step, which is 04:01
fleshing it out into a real Perl 6.
Auzon So are you still within parameters for the first step?
mncharity then again, part of that being easy is that other hard pieces have already been done. It would be really depressing if one now needed to write a regex engine from scratch, rather than being able to assimilate a more-or-less working one. 04:03
STD_red remains a work in progress. Basically when elf needs it to be doing better, it gets further attention. It's two biggest current annoyances are needing ";" after "}" which shouldn't need them ("sub f {};"), and broken prefix/postfix operator handling ("$x++"). 04:05
It's also fallen rather out of sync with STD.pm. 04:06
04:06 CodeBlock left
mncharity Hmm. Maybe should do a "}" handling kludge, just so more of the test suite can be run. 04:07
Auzon Is it a fast kludge? :P
04:07 yewenbin left
mncharity hypothetically, but yes. STD_red payed "manual maintenance and update burden (big, ugly burden)" for "runs fast" and "low development risk". 04:09
Auzon Well, a lack of a semicolon after } is very frequent. But kludges can get ugly. 04:10
mncharity re 'kludges can get ugly', this would just be a simple attempt at lowhanging fruit. eg, /} *\n/ is considered }; . shouldn't break anything in elf, and any tests it helps with are all gravy. 04:14
04:14 meppl joined
mncharity end of day. 04:15
Auzon Would this be in STD_red or elf itself?
mncharity STD_red
Auzon ok. Well, good night, if you're leaving.
mncharity well, if you had other questions, I'll stay for a bit. but yes, it's late. 04:16
Auzon No, it's OK. I'm done being curious for tonight :)
mncharity useful to have questions. i'd forgotten about the }; hack idea. 04:17
:)
Auzon Glad I could remind you, then :)
mncharity indeed. thanks.
good night &
04:17 yewenbin joined 04:18 mncharity left 04:37 wtgee joined, wtgee left 04:38 wtgee joined 04:47 penk joined 04:53 iblechbot joined 04:59 Patterner left 05:06 Psyche^ joined, Psyche^ is now known as Patterner 05:09 alester joined 05:29 iblechbot_ joined 05:35 Zomn left 05:37 meppl left 05:40 thoughtpolice left, alanhaggai_ joined, agentzh joined 05:42 iblechbot left 05:43 alanhaggai left 05:46 Pomin joined 05:49 iblechbot_ left 06:01 alester left 06:04 wtgee left, wtgee joined 06:16 cathyal left 06:19 alinbsp joined 06:33 BinGOs joined 06:41 alanhaggai_ left 06:51 justatheory left 07:04 wtgee left 07:09 Coke left, Coke joined, Coke left 07:12 iblechbot joined 07:13 wknight8111 joined 07:14 Coke_ joined 07:29 Pomin left 07:40 alanhaggai joined 07:48 wknight8111 left 07:56 nipotan is now known as nipotaway 07:59 IllvilJa left 08:21 IllvilJa joined 08:26 cosimo joined 08:53 mj41___ left 08:56 sri_work joined 09:07 elmex joined 09:23 alinbsp left 09:24 alinbsp joined 10:19 xinming left 10:24 ludan joined 10:25 alinbsp left 10:34 zamolxes joined 11:28 qmole left 11:54 sri_work left 11:55 sri_work joined 12:01 qmole joined 12:13 macae joined 12:18 alinbsp joined 12:22 kyrbe joined, kyrbe left 12:27 smtms_ joined 12:31 smtms left 12:32 smtms_ is now known as smtms, meteorjay left 12:41 cmarcelo joined 12:44 rdice joined, rdice left 12:47 meteorjay joined 12:58 wknight8111 joined 13:06 lichtkind joined
lichtkind _a 13:06
13:20 sri_work left 13:38 rdice joined, r0bby left 13:41 r0bby joined 13:47 kcwu left 13:49 xinming joined 13:50 sscaffidi joined 14:03 TJCRI joined 14:06 alester joined 14:14 ludan left, meppl joined 14:15 chris2 joined 14:29 alanhaggai is now known as [alanhaggai] 14:56 macae left 15:08 alanhaggai__ joined 15:11 sscaffidi left
PerlJam stevan_: re why I'd like moose.perl.org ... because all other major technologies are available that way: pdl.perl.org, par.perl.org, poe.perl.org, bio.perl.org, etc. So it would be easy to remember whenever I want to point someone at Moose resources. 15:13
(not to mention when I want Moose resources myself :)
15:22 [alanhaggai] left
stevan_ PerlJam: email sent to [email@hidden.address] lets see what happens :) 15:24
PerlJam: in the meantime, www.iinteractive.com/moose 15:25
lambdabot Title: Moose - A postmodern object system for Perl 5
moritz_ stevan_: I heard that the one of the admins (how should set up a git server) is on vacation, so it might take some time for you to get an answer 15:26
stevan_ moritz_: yeah, I have dealt with them before,they are busy folks,.. I am not holding my breath
15:29 cjfields joined 15:30 DarkWolf84 joined 15:31 alinbsp left 15:33 meteorjay left 15:45 alanhaggai joined 15:49 wtgee joined 15:50 alanhaggai__ left 15:51 kcwu joined 16:05 armagad joined 16:07 justatheory joined 16:11 yewenbin left 16:23 Rurick joined
Rurick hello every body 16:23
Anyone know how I can open multiple sockets in the same program 16:24
open 4 serves in the same program, maybe with threads or forks? 16:25
allbery_b is this a perl5 question? try #perl
16:26 wtgee left
Rurick i am use perl, v5.8.8 16:26
16:28 Rurick left
moritz_ here we discuss Perl 6 (which is why the channel is called #perl6 ;-) 16:28
16:29 wtgee joined 16:35 cjfields left, [particle1 joined 16:39 [particle2 joined 16:43 yewenbin joined 16:44 justatheory left 16:48 kyrbe joined, kyrbe left 16:56 alanhaggai left 16:57 alanhaggai joined 17:02 [particle3 joined, [particle] left 17:14 [particle2 left 17:24 penk left
meppl good night 17:29
17:29 lichtkind left 17:30 meppl left 17:46 eternaleye left 17:49 cjfields joined 17:50 wtgee left 17:52 alanhaggai__ joined
cognominal_ what is the @INC equivalent in Perl 6? 17:55
moritz_ perhaps @*INC? 17:56
pugs: @*ING
exp_evalbot RESULT[[]]
moritz_ pugs: @*INC
exp_evalbot RESULT[\undef]
moritz_ that's only because evalbot's pugs runs in safe mode 17:57
pugs -e 'say @*INC.perl' # gives you a nice list
TimToady @*INC, if it continues to exist, will likely indicate only the user's private directories 17:58
lambdabot Unknown command, try @list
TimToady pulling things out of the official library will require an official api 17:59
because it more resembles a database query, not a probe of a directory
18:06 alanhaggai left, barney joined 18:52 justatheory joined 19:03 dalek left, dalek joined 19:05 cjfields left 19:07 yewenbin left 19:31 alester left 19:45 Auzon left 19:53 Zygo- joined 19:56 bbkr_ joined, zamolxes left, Grrrr left, Zygo left, thepler left, nothingmuch left, bbkr left, ead left, orafu left, Helios- left, cookys left, nipotaway left, Zygo- is now known as Zygo 19:57 Helios_ joined, Helios_ is now known as Helios-, Grrrr joined, orafu joined 19:58 cookys joined, nothingmuch joined 20:02 thoughtpolice joined 20:05 cognominal_ left 20:09 thepler joined, ead joined 20:10 nipotaway joined 20:14 barney left 20:20 pmurias joined 20:40 thoughtpolice left 20:51 hyy joined 20:52 hyy left 21:04 alanhaggai__ left 21:10 TJCRI left 21:17 Helios joined, Helios- left, Helios is now known as Helios- 21:28 ywpg joined 21:31 pmurias left 21:32 rdice left 21:33 polettix joined 22:18 xinming` joined, xinming` left 22:32 iblechbot left 22:33 audreyt_ joined 22:39 Limbic_Region joined 22:41 polettix left, polettix joined 22:44 BinGOs left 22:50 audreyt left 22:53 polettix left, polettix joined 22:54 polettix left 22:56 polettix joined 22:57 polettix left 22:58 polettix joined 22:59 polettix left, polettix joined 23:02 polettix left, sscaffidi joined 23:03 sscaffidi left 23:08 cognominal_ joined 23:13 ywpg left 23:28 User629 joined
User629 condition zero scrim anyone 23:28
23:29 User629 left 23:35 nipotaway is now known as nipotan 23:36 cognominal_ left 23:39 thoughtpolice joined 23:43 mncharity joined 23:45 silug left
pugs_svnbot r20292 | putter++ | [elf_e] Grab a copy of yet_another_regex_engine (Regexp_ModuleA.pm). 23:47
diff: dev.pugscode.org/changeset/20292
lambdabot Title: Changeset 20292 - Pugs - Trac
mncharity TimToady: hi. how goes STD.pm? 23:53