pugscode.org/ | nopaste: sial.org/pbot/perl6 | ?eval [~] <m oo se> | We do Haskell, too | > reverse . show $ foldl1 (*) [1..4]
Set by diakopter on 25 June 2007.
00:03 sri_ joined 00:12 sri_ joined
dduncan fyi, I'm now getting a "Subroutine use_test_base redefined at ../../inc/Module/Install/TestBase.pm line 13." message for every Makefile.PL that is run 00:16
but those seem to be warnings and everything still works 00:17
that I'm aware of
00:18 sri_ joined, _mjk_ joined 00:27 TimToady_ joined 00:29 sri_ joined, unobe_away is now known as unobe 00:36 weinig_ joined
pugs_svnbot r16855 | Darren_Duncan++ | trunk: 01:17
: ext/Muldis-DB/ : updated all module versions to 0.1.0, and added version numbers to all pod-only files
diff: dev.pugscode.org/changeset/16855
lambdabot Title: Changeset 16855 - Pugs - Trac
pasteling "evalbot_r16854" at 193.200.132.135 pasted "Pugs build failure" (6 lines, 278B) at sial.org/pbot/26052 01:20
01:20 Jmax joined 01:30 daxim_ joined 01:31 dolmans joined 01:41 weinig joined 01:48 sri_ joined 01:58 CrazyBaby joined, fhlyyw joined, deaftly` joined
CrazyBaby GOUDATR0N OF THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF (OPTIONALLY) OUTPUTTING PHP CODE. 01:58
deaftly` GOUDATR0N OF THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF (OPTIONALLY) OUTPUTTING PHP CODE.
fhlyyw GOUDATR0N OF THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF (OPTIONALLY) OUTPUTTING PHP CODE.
CrazyBaby GOUDATR0N OF THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF (OPTIONALLY) OUTPUTTING PHP CODE.
deaftly` GOUDATR0N OF THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF (OPTIONALLY) OUTPUTTING PHP CODE.
CrazyBaby GOUDATR0N OF THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF (OPTIONALLY) OUTPUTTING PHP CODE.
fhlyyw GOUDATR0N OF THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF (OPTIONALLY) OUTPUTTING PHP CODE.
deaftly` GOUDATR0N OF THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF (OPTIONALLY) OUTPUTTING PHP CODE.
CrazyBaby GOUDATR0N OF THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF (OPTIONALLY) OUTPUTTING PHP CODE..
fhlyyw GOUDATR0N OF THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF (OPTIONALLY) OUTPUTTING PHP CODE..
deaftly` GOUDATR0N OF THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF (OPTIONALLY) OUTPUTTING PHP CODE..
CrazyBaby GOUDATR0N OF THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF (OPTIONALLY) OUTPUTTING PHP CODE...
fhlyyw GOUDATR0N OF THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF (OPTIONALLY) OUTPUTTING PHP CODE...
deaftly` GOUDATR0N OF THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF (OPTIONALLY) OUTPUTTING PHP CODE...
CrazyBaby GOUDATR0N OF THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF (OPTIONALLY) OUTPUTTING PHP CODE....
fhlyyw GOUDATR0N OF THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF (OPTIONALLY) OUTPUTTING PHP CODE....
deaftly` GOUDATR0N OF THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF (OPTIONALLY) OUTPUTTING PHP CODE....
CrazyBaby GOUDATR0N OF THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF (OPTIONALLY) OUTPUTTING PHP CODE.....
fhlyyw GOUDATR0N OF THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF (OPTIONALLY) OUTPUTTING PHP CODE.....
deaftly` GOUDATR0N OF THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF (OPTIONALLY) OUTPUTTING PHP CODE.....
CrazyBaby GOUDATR0N OF THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF (OPTIONALLY) OUTPUTTING PHP CODE......
fhlyyw GOUDATR0N OF THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF (OPTIONALLY) OUTPUTTING PHP CODE......
deaftly` GOUDATR0N OF THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF (OPTIONALLY) OUTPUTTING PHP CODE......
CrazyBaby GOUDATR0N OF THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF (OPTIONALLY) OUTPUTTING PHP CODE.......
fhlyyw GOUDATR0N OF THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF (OPTIONALLY) OUTPUTTING PHP CODE.......
deaftly` GOUDATR0N OF THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF (OPTIONALLY) OUTPUTTING PHP CODE.......
CrazyBaby GOUDATR0N OF THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF (OPTIONALLY) OUTPUTTING PHP CODE........
fhlyyw GOUDATR0N OF THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF (OPTIONALLY) OUTPUTTING PHP CODE........
deaftly` GOUDATR0N OF THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF (OPTIONALLY) OUTPUTTING PHP CODE........
CrazyBaby GOUDATR0N OF THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF (OPTIONALLY) OUTPUTTING PHP CODE.........
fhlyyw GOUDATR0N OF THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF (OPTIONALLY) OUTPUTTING PHP CODE.........
deaftly` GOUDATR0N OF THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF (OPTIONALLY) OUTPUTTING PHP CODE.........
01:59 xinming joined
thoughtpolice they don't give up, do they 02:07
diakopter <sigh> 02:08
yum_ what losers 02:26
02:26 sunnavy joined
Patterner Where can we vote for removing php bindings? :) 02:26
diakopter :P 02:27
02:31 rissy joined 02:32 TimToady joined 02:54 diakopter is now known as diakopter_afk, diakopter_afk is now known as diakopter 02:57 justatheory joined 03:02 bsb joined 03:05 diakopter sets mode: +o TimToady 03:09 hakobe_ joined 03:10 agentzh joined
agentzh lambdabot is back? 03:11
@karma agentz
lambdabot agentz has a karma of 97
agentzh sweet
diakopter agentz++ 03:12
agentzh wow, i'll hit 100 if you continue ;)
what's the best way for testing ASTs? 03:13
YAML? YAML::Syck? Data::Dumper? or a customized dumper? 03:14
.oO( Test::More::is_deeply is not so good )
diakopter If someone says they're "fighting the war on terror", does that mean they're fighting [against] the war [against] terror[ists]? or they're [singlehandedly?] fighting *the war* [against] terror[ists]? 03:15
thoughtpolice good question 03:16
03:17 weinig_ joined
agentzh svn up takes years on my side. anyone is having the same problem? 03:20
diakopter tries it 03:21
agentzh "64 bytes from feather.perl6.nl (193.200.132.135): icmp_seq=3 ttl=38 time=745 ms" 03:23
TimToady load avg on feather is pretty low 03:24
03:24 torz joined
diakopter mine updated in a coupla seconds from about 20 revs ago 03:25
TimToady yeah, pretty fast here too
agentzh seems to be my local network problems :( 03:28
TimToady in that case we will hope it is very local 03:30
since those tend to be easier to fix
agentzh *nod* 03:31
03:31 thestarslookdown joined 03:55 agentz joined 03:56 agentz is now known as agentz1 03:57 agentz1 is now known as agentzh_
agentzh_ restarting the pppoe conection 3 times helps and svn up works again :) 03:59
but my new ip is banned by CBL :(
diakopter so that's what was disrupting your network... :) 04:01
drones on your segment 04:02
or something
agentzh_ heh
anyway i'm able to hack :)
lunch &
04:11 mbradley joined
thoughtpolice is the circumfix category in defining your own operators currently broken or somesuch? I would assume not, but in no case where I've specified any of them have they worked 04:13
04:20 amnesiac joined 04:22 weinig joined 04:24 weinig joined 04:26 weinig joined 04:36 Shangrila joined
Shangrila hello 04:36
diakopter hello
Shangrila hi diakopter :)
diakopter welcome to #perl6
Shangrila thanks 04:37
04:38 agentzh_ left 04:58 ofer joined, weinig joined 05:01 rlb3 joined 05:12 monomorph joined 05:14 Psyche^ joined 05:17 theorbtwo joined 05:18 [particle1 joined 05:21 justatheory joined 05:26 jisom joined 05:27 rintaro joined 05:30 Psyche^ is now known as Patterner 05:37 rfordinal joined
lidden ?eval "$(my $x = <1 2>.pick) $x" 05:50
05:51 evalbot_r16845 is now known as evalbot_r16855
evalbot_r16855 "\$(my = <1 2>.pick) " 05:51
lidden TimToady: You said three days ago that that should work. I was about to add a test for it but cant find anything about it in the synopses, so now I am a little confused. 05:52
would C< is("$(my $x = 2) $x", '2 2'); > be a correct test? 05:53
TimToady I believe so
likewise is("$(my $x = 2)" ~ $x, '22') 05:55
in either case it should be adding to the current outer lexical scope 05:57
diakopter ?eval "$(my $x = <1 2>.pick)" eq $x
evalbot_r16855 Bool::False
TimToady unlike "{ my $x = 2 }" which would be limited by the {...} scope
diakopter ?eval "$(our $x = <1 2>.pick)" eq $x 05:58
evalbot_r16855 Bool::False
diakopter ?eval "$(your $x = <1 2>.pick)" eq $x
TimToady I don't believe it's currently parsed right
evalbot_r16855 Bool::False
diakopter :)
TimToady ?eval "$(your $x = <1 2>.pick)" 05:59
evalbot_r16855 "\$(your = <1 2>.pick)"
diakopter oh
"$(expr)" doesn't work at all? 06:00
TimToady ENOTIMPL
diakopter or is that "$(stmt)"
TimToady ?eval "$(42)"
pugs_svnbot r16856 | lidden++ | trunk:
evalbot_r16855 "\$(42)"
pugs_svnbot : Test for interpolation into double quoted strings.
diff: dev.pugscode.org/changeset/16856
lambdabot Title: Changeset 16856 - Pugs - Trac
TimToady in theory could be a statement 06:01
?eval "@($_ * 2 if $_ % 1 for @foo)" 06:02
evalbot_r16855 "\@( * 2 if \% 1 for \@foo)"
pasteling "evalbot_r16856" at 193.200.132.135 pasted "Pugs build failure" (6 lines, 278B) at sial.org/pbot/26055 06:08
pugs_svnbot r16857 | lwall++ | trunk:
: parens weren't setting up statement context
diff: dev.pugscode.org/changeset/16857
lambdabot Title: Changeset 16857 - Pugs - Trac
06:22 drupek12 joined 06:32 sk joined 06:40 elmex joined 06:41 franck__ joined 06:59 sk joined 07:02 sk joined 07:08 sk joined 07:16 sk joined 07:21 riffraff joined 07:28 elmex joined 07:57 marmic_ joined 08:09 bsb left 08:11 devogon joined, dduncan left 08:27 andara joined 08:37 meppl joined
meppl good morning 08:39
andara good morning meppl 08:40
08:44 aharoni joined
meppl good morning andara 08:44
wolverian ah, capuccino and sanity 09:01
surely they are related.
09:16 franck__ joined 09:32 SamB joined, jedai joined 09:34 iblechbot joined 09:43 lotek joined 09:51 rho joined 09:55 rindolf joined 09:56 chris2 joined 10:03 ruoso joined 10:18 isaacd joined 10:42 ruoso joined 10:46 lotek joined, agentzh joined
agentzh dduncan: thanks for the info. i'll try fixing the use_test_base thing tomorrow :) 10:47
avar: are you working on compile_p6grammar? 10:48
avar: i've got a lot of PCR-related stuff done in the classroom this afternoon and i'm now quite close to getting compile_p6grammar working again :) 10:49
fglock: i'm thinking about making PCR more p5-ish. i'm going to introduce a "pure p5 mode" for PCR, in which PCR will not try to treat regex actions as Perl 6. 10:51
fglock: i'm afraid it's a shame for PCR to rely on v6.pm to compile itself.
fglock: i believe it's quite simple to get PCR compile a modified version of Rule2.pm merely using itself (without v6.pm, of course) 10:53
fglock: i'm going to implement Pugs::Compiler::Grammar tomorrow for compiling an updated version of Rule2.pm (which will be Rule2.pm :)) 10:54
s/will be Rule2.pm/will be Rule3.pm/
...as well as Pugs::Emitter::Grammar::Perl5 :) 10:58
see you guys tomorrow ;) & 11:00
11:00 agentzh left 11:07 aharoni left 11:10 daxim_ is now known as daxim 11:13 buetow joined 11:14 devogon_ joined, toshinori joined 11:20 gloam joined 11:22 fglock__ joined
fglock__ agentzh: ping 11:27
re 'treat regex actions as Perl 6' - PCR doesn't do that by itself; this is only under v6.pm
11:29 dwave left
fglock__ agentzh: hmm - maybe you mean the source filter in the emitter 11:31
which was used for bootstrapping 11:32
I think v6.pm still relies on it
11:32 lotek joined 11:33 dwave joined 11:55 rho joined 11:56 andara left 12:05 Limbic_Region joined 12:12 dalek joined 12:15 dalek joined 12:18 riffraff joined 12:21 lumi joined 12:25 diakopter sets mode: +o dalek 12:26 gogonkt1 joined, dalek sets mode: +l 171, diakopter sets mode: -o dalek 12:27 diakopter sets mode: +o dalek
diakopter dalek: seen diakopter 12:28
12:29 diakopter left, diakopter joined, ChanServ sets mode: +o diakopter
diakopter dalek: seen diakopter 12:29
12:29 iblechbot joined 12:30 dalek sets mode: +l 172
diakopter dalek: !seen diakopter 12:31
args seen the_doctor
diakopter !seen diakopter 12:32
devbot6 diakopter: Error: "seen" is not a valid command.
BinGOs Wee. Finally smoking pugs on NetBSD-3.1 12:33
compiled quite quick as well. Hurray. 12:34
riffraff I see pugs/inc which I never noticed before.. what is in it? 12:35
I mean not "ls inc", but what is the intent :)
avar @tell agentzh no, I'm not working on the p6 grammar compiler 12:37
lambdabot Consider it noted.
12:55 drbean joined, fglock__ joined 13:00 dalek sets mode: +l 171 13:03 toshinori joined 13:04 rashakil joined, dalek sets mode: +l 172 13:09 ProperNoun joined, Loro_ joined 13:10 dalek sets mode: +l 174
diakopter ProperNoun: would you like commit access to the pugs repo? 13:11
er, that's an open invitation to everyone here, I mean 13:12
13:12 dalek sets mode: -o diakopter 13:13 dalek sets mode: +o diakopter
diakopter nice 13:13
13:15 DarkWolf84 joined, dalek sets mode: +l 175 13:19 xdg joined, dalek sets mode: +l 176 13:30 dalek sets mode: +l 175 13:32 TJCRI joined 13:33 f0rth joined, dalek sets mode: +l 176 13:35 andara joined 13:36 dalek sets mode: +l 177 13:53 f0rth joined, iblechbot_ joined, dalek sets mode: +l 178 13:56 elmex joined, dalek sets mode: +l 179
diakopter PARROT 13:58
DarkWolf84 ??? 14:00
diakopter sorry :) 14:01
BinGOs squawks.
14:01 diakopter sets mode: +o BinGOs 14:02 dalek sets mode: -o BinGOs
BinGOs o.O 14:02
diakopter hrm
BinGOs =[
diakopter accursed dalek
14:02 dalek sets mode: -o diakopter
BinGOs is this buu's dalekbot code ? 14:03
diakopter no
:)
BinGOs oh good >:)
14:03 ChanServ sets mode: +o diakopter
BinGOs but it is a bot ? 14:03
diakopter yeah
/msg it
BinGOs please tell me it ain't Net::IRC
diakopter thinks 14:04
14:04 [particle1 is now known as [particle], dalek sets mode: +l 178
BinGOs It is not very talkative 14:04
DarkWolf84 who? 14:05
BinGOs dalek
14:05 andara joined, dalek sets mode: +l 179
DarkWolf84 why the channel limit is changed so many times 14:06
14:06 dalek sets mode: +l 178
BinGOs heh 14:06
diakopter it's a poor implementation of join rate restriction in that bot... I'll fix it since hyperion does it for us 14:07
14:12 diakopter sets mode: -o dalek 14:16 fglock___ joined 14:21 lisppaste3 joined 14:24 dalek joined 14:25 dalek joined 14:26 dalek joined 14:27 dalek joined 14:28 dalek joined
diakopter BinGOs: no, it's not Net::IRC-based 14:29
14:30 diakopter sets mode: -l
BinGOs \o/ 14:32
diakopter but it is perl 14:35
ugh; I suppose freenode *really* wants bots to reply to ^AVERSION^A 14:38
14:38 isaacd_ joined 14:39 dalek joined 14:40 dalek joined
diakopter ugh 14:41
fglock___ pmichaud: rehi 14:48
BinGOs ENODALEK
avar /nick CYBERMEN; VICTORY IS OURS 14:49
diakopter EPHPRULESPERL
fglock___ pmichaud: I'll be back in about 5h
pmichaud okay, that's good for me
diakopter stares quizzically at avar 14:50
fglock___ afk 14:53
diakopter avar: aha! another drwho ref 14:56
15:13 amnesiac joined 15:14 TJCRI joined, qmole joined 15:19 xinming joined 15:21 kanru joined 15:25 Limbic_Region joined
avar w 4 15:25
15:31 autark joined 15:34 diakopter sets mode: +o BinGOs, diakopter is now known as diakopter_afk 15:42 dwolf_ joined 15:43 rindolf joined 15:55 iblechbot joined
thoughtpolice mornin' everybody 15:59
[particle] heya 16:01
16:05 weinig joined 16:34 BinGOs joined 16:46 BinGOs joined, diakopter_afk sets mode: +o BinGOs 16:53 [particle1 joined, stevan_ joined
pugs_svnbot r16858 | lwall++ | trunk: 16:55
: [STD] lotsa places where multiple "statements" should be allowed in brackets
diff: dev.pugscode.org/changeset/16858
lambdabot Title: Changeset 16858 - Pugs - Trac
16:55 stevan_ joined, rintaro joined 16:59 aharoni joined
aharoni hi 17:01
is there anything like perldiag for pugs?
Tene Hi. :)
17:03 gogonkt1 joined
daxim not yet, wanna write one? 17:05
TimToady 'course, if the diags have to be explained, a good case could be made that the diags are inadequate... 17:06
and there should probably be an option to add explanatory URLs to diagnostics (language sensitive too) 17:09
[particle1 then write a perldoc:// protocol, and a docserv....
17:10 [particle1 is now known as [particle]
Juerd perldoc:// protocol specification: 17:10
1. gopher
2. serving POD
aharoni i'll gladly start writing something.
Juerd 3. profit?
aharoni is there some central file in which there's a list of all diag messages? 17:11
17:11 lotek_ joined
TimToady no, it's currently scattered about in the various sources 17:11
we haven't really I18n'ed it yet 17:12
and I haven't really specced what the diags should be, if we want consistency across various implementations 17:13
17:13 rindolf joined
aharoni ?eval "25 + foo()" 17:15
17:15 evalbot_r16855 is now known as evalbot_r16858
evalbot_r16858 "25 + foo()" 17:15
aharoni eh...
TimToady leave off the quotes
aharoni yeah
?eval 25 + foo()
evalbot_r16858 Error: No such subroutine: &foo
17:15 [particle1 joined
aharoni OK - where does this come from in the source? 17:15
(i'm a very green pugs hacker, please be gentle :) ) 17:16
TimToady I'd use some kind of a recursive grep to find it
it's very likely in src/Pugs though
./src/Pugs/Eval.hs:
17:17 diakopter_afk is now known as diakopter, BinGOs sets mode: +o diakopter
TimToady aharoni: are you familiar with Haskell? 17:18
aharoni yeah, i started studying it. Audrey's presentation got me very excited about it 17:19
TimToady I expect there's some degree of regularity to how audreyt did the error messages in pugs
17:20 dduncan joined
aharoni i'm sure there's something - the code impressed me with its cleanliness, even though i know little Haskell 17:21
diakopter Juerd: apache2 was using *tons* of ram/cpu (too much even to start some of the svnbots) on feather, so I changed the apache2 logs to rotate daily (they were huge) instead of weekly, and it seems to have helped apache's responsiveness. now to see if it has helped the ram situation.
TimToady strange 17:22
dduncan how would a log size affect ram usage? 17:23
isn't a log just appending to a disk file?
diakopter I've seen apache get very bogged down when appending to very big (500MBish) log files 17:24
and that causes apache2 children to be waiting often, which means more children are required to be forked
hrm. we need a http log file analyzer. 17:25
oh. here's [one/another reason] why it's slow at the moment - googlebot is grabbing html diffs of every revision of both pugs and parrot. 17:28
17:28 lotek joined
[particle1 egad. 17:28
lumi Um 17:29
[particle1 should definitely disallow that.
17:29 [particle1 is now known as [particle]
Tene robots.txt++ 17:29
diakopter yeah 17:30
17:30 aharoni left 17:32 gogonkt1 left 17:37 Psyche^ joined
dduncan that would seem odd, since its not re-reading those log files or keeping them in ram, is it? 17:38
diakopter shutting down apache for a minute or two... 17:46
after lwall finishes committing...
TimToady done
pugs_svnbot r16859 | lwall++ | trunk:
: [STD] distinguish statement list from context-sensitive semi list syntactically
diff: dev.pugscode.org/changeset/16859
lambdabot Title: Changeset 16859 - Pugs - Trac
17:47 weinig_ joined 17:49 qmole joined, Limbic_Region joined
pasteling "evalbot_r16858" at 193.200.132.135 pasted "Pugs build failure" (6 lines, 278B) at sial.org/pbot/26064 17:52
17:53 Psyche^ is now known as Patterner
diakopter better. 17:59
18:01 Limbic_Region joined
Yaakov Better is relative. 18:02
18:03 TJCRI joined 18:04 dalek joined, bonesss joined 18:05 unobe is now known as unobe_away 18:13 dalek joined 18:21 Limbic_Region joined 18:35 yum_ joined 18:36 aharoni joined 18:45 jisom joined 18:50 franck__ joined 19:06 drupek12 joined
obra TimToady: ping 19:08
TimToady pong 19:09
bloonix does 'say' in perl 6 appends a newline auto?
[particle] yes. 19:10
TimToady use print if you don't want that
obra TimToady: what time does your flight hit boston on the 13th?
"hopefully for very gentle values of hit"
TimToady checking... 19:11
obra thanks
[particle] or very ethereal values of boston.
bloonix okay, I though it's a feature in Perl6::Say :)
19:11 diakopter8 joined
diakopter8 hey, this actually isn't too bad. 19:12
19:12 diakopter8 joined
diakopter8 'cept for all the images having the wrong paths 19:13
pugs_svnbot r16860 | Darren_Duncan++ | trunk:
: ext/Muldis-DB/ : shortened Copying.pod, other small docs updates
diff: dev.pugscode.org/changeset/16860
lambdabot Title: Changeset 16860 - Pugs - Trac
19:14 diakopter8 joined
TimToady obra: 10:45 pm AA (via SFO) 19:18
obra Ah. ok. 19:19
On the 13th, yes?
I'll be coming from LAX. Hm. I wonder if... 19:20
19:20 diakopter8 joined
obra Connections from LAX on friday are hurting. it may be easiest for me to get home by...flying through SFO 19:20
TimToady forwarded you the emails (finally) 19:21
had to dig around on my old disk drive...
obra thanks
diakopter8 test
fglock___ rehi 19:25
pmichaud: ping? 19:28
19:29 diakopter8 joined
diakopter8 test 19:30
obra TimToady: got the mail. 19:31
fglock___ obra: hi :) 19:32
obra hey fglock___
TimToady Howdy, fglock___, you fantastic person you. 19:33
fglock___ I love you too :) 19:34
Juerd diakopter8: Okay. Weird; huge files shouldn't slow things down in append mode. 19:35
TimToady maybe there's something weird about journaled raids going on that surpasses the inefficiency of triple indirect blocks... 19:36
obra oh. is this still the issue we were seeing with commitbit? 19:38
TimToady doubt it--that was, I believe, a continuously interrupting device 19:39
or was it bad memory? 19:40
the two not being mutually exclusive...
19:42 diakopter8 joined 19:46 diakopter sets mode: -o dalek
fglock___ TimToady: would you sanity check my p6rx-on-p5rx idea? svn.pugscode.org/pugs/v6/v6-KindaPe...subrule.pl 19:52
lambdabot tinyurl.com/29lv29
pmichaud fglock___: pong 19:53
fglock___ pmichaud: I'd like to show you kp6... 19:54
pmichaud fglock___: you mean walk through the code? will it take long? 19:55
fglock___ not really - I'd like to discuss the high level structure 19:56
hmm - 15 minutes?
pmichaud okay, sounds great 19:57
fglock___ cool
this shows kp6 as implemented today: svn.pugscode.org/pugs/v6/docs/kp6.jpg 19:58
kp6 is p6 compiler written in miniperl6
avar fglock___: backtracking-recursive-subrule looks nice
fglock___ kp6-on-perl5 contains a runtime written in perl5
avar: thanks
avar fglock___: do you have anything that compiles down to that p5 structure yet? 19:59
fglock___ pmichaud: the AST processors are pluggable; you can select what processing is best for each backend
avar fglock___: talk to pmichaud first:)
fglock___ avar: under kp6, yes - but I'm having problems with the mop right now 20:00
pmichaud: about the regex engine, the default option is to compile regexes into plain code, using 'substr' and 'eq' 20:01
pmichaud what is "plain code"? 20:02
fglock___ but you can choose to use a native lib
Perl6 code, which is then recompiled into native code
this is how miniperl6 works, too
so the regex engine is very portable
pmichaud so, basically you have a regex engine written in perl 6?
fglock___ but kinda slow
20:02 isaacd__ joined
fglock___ yes 20:02
pmichaud nice
fglock___ in miniperl6 20:03
it feeds back into the compiler
pmichaud the regex engine feeds back into which compiler?
fglock___ into kp6
it's recursive
pmichaud I don't quite follow that 20:04
fglock___ parser -> regex-parser -> perl6-code -> parser -> ast
parser -> regex-parser -> regex-ast -> regex-emitter -> perl6-code -> parser -> ast
pmichaud the regex parser is kinda like a front end to kp6, then 20:05
fglock___ there is an AST processor that takes care of that: it emits the 'regex' nodes to kp6, and reparse into AST again 20:07
s/to kp6/to miniperl6/
pmichaud okay, got it 20:08
fglock___ this is the code, just in case: svn.pugscode.org/pugs/v6/v6-KindaPe...r/Token.pm
lambdabot tinyurl.com/24p335
avar fglock___: what files implement the rx parse/rx ast/rx emitter? 20:09
fglock___ avar: Kp6::Grammar::Regex does the parse & AST; Visitor::Token is the miniperl6-AST emitter; Visitor::EmitPerl5Regex is the p6rx-on-p5rx emitter 20:11
we can have a PGE emitter too
pmichaud ...PGE emitter? 20:12
fglock___ pmichaud: the other part of the compiler is the BEGIN processor
re PGE - we can call into PGE, from kp6-in-parrot (when it gets ready)
pmichaud ...but PGE is a regex compiler 20:13
so I'm not sure what a 'PGE emitter' would look like
avar presumably it would stop at the regex-parser step basically and emit PIR needed to call PGE
fglock___ the idea is to replace the kp6 modules with native modules, as much as possible; the "emulation" modules should be optional 20:14
PGE would replace the kp6 grammar engine, or complement it
pmichaud okay 20:15
fglock___ about the BEGIN processor, it executes some code, and then looks for side-effects
the side-effects part is tricky 20:16
pmichaud but I think that would really need to take place at the "Perl 6 AST" stage, rather than as an "emitter"
fglock___ kp6 doesn't make much distinction between an AST-processor and an emitter; they are just part of a "workflow"
pmichaud or is that the "DSL" section in the middle? 20:17
fglock___ there is a single API
pmichaud "DSL" is "domain specific language"?
fglock___ yes - but I've changed my mind a little, I'm integrating this into the main grammar
the DSL-grammar part, that is 20:18
the DSL-ast processors are plain plugins
pmichaud okay, got it so far 20:20
fglock___ that's it :) 20:21
pmichaud it seems odd that the BEGIN processor is separate from the main compiler
fglock___ it is a module
I think the parrot version would likely be implemented in parrot, for efficiency 20:22
the Perl version uses a complicated Pad scheme
pmichaud well, my thinking of BEGIN for parrot has been that it would be just a normal part of the compilation process 20:23
except at the conclusion of a BEGIN block we go ahead and execute it
(i.e., after parsing a BEGIN block, we go ahead and complete compilation on the block and initiate execution of the code generated by it) 20:24
TimToady at CHECK time you have to have a way of saving a snapshot to start up again for separate compilation
fglock___: btw, p6rx-on-p5rx looks okay to me on first glance 20:25
fglock___ parrot gives you a lot of control on the pads, but perl needs to do a lot of work to get to the side-effects (the snapshot)
TimToady: cool - thanks a lot!
pmichaud I was thinking the side-effects would be stored in the code generated by the BEGIN block
fglock___ yes, but how do you generate that code? 20:26
pmichaud same way I generate any other sub :-)
or block
TimToady you mean, capture the side effects of a BEGIN into an INIT?
can't just rerun the BEGIN... 20:27
fglock___ like: $a ::= 9; BEGIN { $a := $a + 1 } --> runtime: { $a := 10 }
pmichaud I hadn't thought about it in terms of BEGIN/CHECK/INIT sequence, so I can't say for sure how that would go
20:28 weinig joined
TimToady this may be one area where parrot as stayed a bit in the p5ish mode... 20:28
s/as/has/
pmichaud indeed, that's one of the challenges at the moment
it's not entirely clear how one can "snapshot" things in Parrot 20:29
but, in some ways something like $a ::= 9; is already acting as a self-contained "BEGIN" block, in that it's defining something to be done during parsing/compilation 20:30
so, that semantic has to be captured in the compiled code as well :-|
fglock___ yes, it does
'use' is also a begin-ish thing
pmichaud yes, exactly
TimToady indeed, you have to pretend the compilation is real until CHECK time, where it becomes some kind of freeze/thaw problem for existing data, not just code. 20:31
fglock___ kp6 has a 'Pad' module, that can create lexical scopes and inspect them for changes
and reemit the changes as code
avar fglock___: what syntax for regexes does kp6 understand? 20:33
it's giving a syntax error for class Main { "foo" ~~ /bar/ }
fglock___ avar: regexes are currently plain methods: something like - Main.bar( "foo" ) 20:34
avar I just want something I can use to test/improve the p5 rx emitter 20:35
fglock___ avar: I've got a test here, I'll commit it 20:36
avar thanks
diakopter fglock__: hang on a bit 20:37
please
dduncan ooo, lots of underscores
fglock___ diakopter: you mean, not commit yet? 20:38
diakopter yeah; apache is off still
20:40 aharoni left
pasteling "fglock" at 201.54.129.80 pasted "kp6 p6rx-on-p5rx test" (13 lines, 213B) at sial.org/pbot/26074 20:40
fglock___ avar: that code doesn't work yet; there is some problem with the MOP 20:41
20:42 barney joined
fglock___ it would be run with: perl -I lib5regex -I lib 20:42
diakopter k it's back
obra TimToady: Ok. looks like I'm hitting BOS about 45 minutes before you. 20:45
pugs_svnbot r16861 | fglock++ | trunk:
: [kp6] added examples/token-test.pl - a simple test for p6rx-on-p5rx devel
diff: dev.pugscode.org/changeset/16861
lambdabot Title: Changeset 16861 - Pugs - Trac
diakopter Limbic_Region: if you're reading the logs, try CGI::IRC again... should work for you now. got the correct auth method and everything.
pasteling "evalbot_r16860" at 193.200.132.135 pasted "Pugs build failure" (6 lines, 278B) at sial.org/pbot/26075 20:47
20:47 diakopter9 joined
fglock___ avar: can you run the compiler on it? 20:47
20:47 diakopter9 left
fglock___ you should see something like: qr/(?{ local $GLOBAL::_M = [ $GLOBAL::_M, 'create', pos(), \$_ ]; $GLOBAL::_M2 = $GLOBAL::_M; })(?:(?:42))(?{ local $GLOBAL::_M = [ $GLOBAL::_M, 'to', pos() ]; $GLOBAL::_M2 = $GLOBAL::_M; })/x 20:48
which is the code for 'token { 42 }' :)
avar sh-3.1$ perl kp6-perl5.pl examples/token-test.pl | perl -Ilib -Ilib5regex 20:49
Can't use bareword ("X") as a HASH ref while "strict refs" in use at - line 3.
20:49 elmex joined
fglock___ yes, that's the MOP error 20:50
but you should use this options: -do MetaClass EmitPerl5Regex
in order to use the p5rx processor 20:51
avar sh-3.1$ perl kp6-perl5.pl -do MetaClass EmitPerl5Regex examples/token-test.pl
Warning: Use of "require" without parentheses is ambiguous at (eval 5) line 1.
Can't load examples/token-test.pl plugin: Search pattern not terminated at (eval 5) line 1.
fglock___ use '<' before examples/token-test.pl - it thinks it's a plugin name :) 20:52
I mean: $ perl kp6-perl5.pl -do MetaClass EmitPerl5Regex < examples/token-test.pl 20:53
20:55 weirdo joined
weirdo pugs> "0" or die 20:55
*** Died
why, oh why is this continuing in p6?
wait.
oh well 20:56
guess some things don't change :/
it's what makes the '||=' operator nearly useless
avar eval: "0" but False 20:57
?eval "0" but False
20:57 evalbot_r16858 is now known as evalbot_r16861
evalbot_r16861 Error: Cannot cast from VBool False to Pugs.AST.Internals.VCode (VCode) 20:57
avar urr
fglock___ avar: did it work?
avar $ perl kp6-perl5.pl -do MetaClass EmitPerl5Regex < examples/token-test.pl|perl -Ilib -Ilib5regex 20:58
Can't use bareword ("X") as a HASH ref while "strict refs" in use at - line 3.
fglock___ yes, I'll fix that - but the p5regex should look ok in the source code (if you use perltidy) 20:59
I'll try to debug MetaClass+EmitPerl5Regex over the weekend 21:01
21:02 weirdo left
fglock___ avar: you said 'I just want something I can use to test/improve the p5 rx emitter' - I hope you are not too disappointed 21:15
home & 21:18
21:19 Limbic_Region joined, rashakil joined, Qiang left 21:52 diakopter is now known as diakopter_afk, BinGOs sets mode: +o diakopter_afk 22:01 weinig joined
bloonix for <foo bar baz> { say } prints 3 newlines, but not more :/ 22:10
for <foo bar baz> { say $_ } works well
avar how about { .say }?
PerlJam bloonix: you want .say
Tene bloonix: .say 22:11
Tene too late
bloonix I'm reading a little perl 6 tutorial and it seems that some things are not correct :/
PerlJam bloonix: things change. When was the tutorial written and by whom? 22:12
bloonix HerbertBreunung - 03 Apr 2006
ah
moritz corrects it 22:13
MoritzLenz - 26 Feb 2007 - for @foo {say} durch {.say} ersetzt
:)
. implies to use $_ ?
TimToady when there's whitespace in front of it, yes. 22:14
bloonix .say for <foo bar baz>;
fine
Tene bare .foo is short for $_.foo
TimToady well, more techinically, when it's not expecting a postfix
?eval for <foo bar baz> {.say}
evalbot_r16861 OUTPUT[fooā¤barā¤bazā¤] undef 22:15
bloonix for expect a list and loop a condition? mixes are not possible? 22:18
Tene bloonix: ?
bloonix for ($i=0; $i<5; $i++){ say $i } 22:19
s/for/loop/ now
Tene Right, that's named 'loop' in perl
erm 22:20
in perl 6
bloonix ;) 22:21
PerlJam Tene: around here, perl is perl 6 :)
thoughtpolice vroom.
how goes the hacking?
TimToady .oO(obviously, too busy hacking to answer) 22:24
bloonix sorry, I'm a bit confused...
for $+.keys { .say }
PerlJam bloonix: me too. 22:25
bloonix $+ = environment
PerlJam not any more (if it ever was)
bloonix say $+HOME = /home/bloonix
TimToady we call them contextual variables now
PerlJam maybe I should re-read a synopsis or two :) 22:26
TimToady: is $+.keys meaningful?
TimToady $+ is not a hash
bloonix in perl 5 is write "print for keys %ENV"
s/is/I/
TimToady $+ is not just for getting to ENV
it gets any contextual variable, and has to run up the call stack to find it 22:27
so it doesn't really know the keys
bloonix okay
TimToady the %*ENV array is just the final place to look.
bloonix for %ENV.keys { .say }
^^
TimToady have to say %*ENV 22:28
or import it into your current package
both the %*ENV and the .say change are since we started a search-and-destroy mission for wherever the user had to memorize arbitrary lists 22:29
Tene Which arbitrary list was %*ENV?
TimToady well, originally, in p5, the list of symbols that magically appear in every package.
in p6, just the list of auto-imported syms from * 22:30
we decided the * was worth not autoimporting
Tene *nod*
TimToady with .say, the list of functions that happen to default to $_
we've also gotten rid of the list regex metachars 22:31
s/list/list of/
bloonix I dont understand that: 22:32
%hash<<foo>>
TimToady usually just just <foo> there
the double angle forms are for interpolating now 22:33
22:33 Jmax joined
TimToady %hash<foo> is the new $hash{foo} 22:33
the p5 form was always a source of confusion 22:34
bloonix but %hash{foo} is also possible?
TimToady only if foo is a function of 0 args
there is no special autoquoting inside {...} anymore 22:35
and the <foo> forms can be applied more consistently across the language
bloonix say %hash{foo}; -> *** No such subroutine: "&foo" 22:36
okay
faq.perl-community.de/bin/view/Wiss...alKapitel3 22:37
lambdabot Title: PerlCommunityWiki ōæ½xBB Wissensbasis ōæ½xBB Perl6TutorialKapitel3, tinyurl.com/2aseb9
bloonix there seems a lot of things older
hmmm 22:39
my %perl6leute = ('audrey'=>'pugs', 'leo'=>'parrot', 'damian'=>"larry's evil henchman"); 22:40
say %hash<audrey>;
***Unexpected "<audrey" ...
TimToady ?eval my %perl6leute = ('audrey'=>'pugs', 'leo'=>'parrot', 'damian'=>"larry's evil henchman"); say %hash<audrey>; 22:42
evalbot_r16861 OUTPUT[ā¤] Bool::True
TimToady ?eval my %perl6leute = ('audrey'=>'pugs', 'leo'=>'parrot', 'damian'=>"larry's evil henchman"); say %perl6leute<audrey>;
evalbot_r16861 OUTPUT[pugsā¤] Bool::True
bloonix arg
TimToady should have given you a better error message 22:43
bloonix s/%hash/%perl6leute/ :)
hmmm %hash{foo} and foo must be a func, but what is %perl6leute{'audrey'} ? 22:44
''
thoughtpolice same thing
TimToady ?eval my %perl6leute = ('audrey'=>'pugs', 'leo'=>'parrot', 'damian'=>"larry's evil henchman"); say %perl6leute{'audrey'};
evalbot_r16861 OUTPUT[pugsā¤] Bool::True
bloonix seems its the same like %perl6leute<>
TimToady what version are you running? 22:45
bloonix but why? "" tries to eval it and '' not ?
Version: 6.2.13 (r16712)
TimToady ?eval my %perl6leute = ('audrey'=>'pugs', 'leo'=>'parrot', 'damian'=>"larry's evil henchman"); say %perl6leute{"audrey"}; 22:46
evalbot_r16861 OUTPUT[pugsā¤] Bool::True
TimToady ?eval my %perl6leute = ('audrey'=>'pugs', 'leo'=>'parrot', 'damian'=>"larry's evil henchman"); say %perl6leute<>;
evalbot_r16861 OUTPUT[audreypugsdamianlarry's evil henchmanleoparrotā¤] Bool::True
TimToady that's taking it as equivalent to:
?eval my %perl6leute = ('audrey'=>'pugs', 'leo'=>'parrot', 'damian'=>"larry's evil henchman"); say %perl6leute{};
evalbot_r16861 OUTPUT[audreypugsdamianlarry's evil henchmanleoparrotā¤] Bool::True
TimToady the <> is not an empty string, but an empty list 22:47
just as <foo bar> is a list of two elements
?eval my %perl6leute = ('audrey'=>'pugs', 'leo'=>'parrot', 'damian'=>"larry's evil henchman"); say %perl6leute<audrey leo>;
evalbot_r16861 OUTPUT[pugsparrotā¤] Bool::True
thoughtpolice <> is analogous to p5's qw() form; it creates a list where the token delimiter is whitespace
bloonix ah
TimToady but it works both standalone and as a hash subscript 22:48
thoughtpolice yeah.
TimToady and as an arg to adverbs
?eval say :foo<bar baz>
evalbot_r16861 Error: Named argument found where no matched parameter expected: ("foo",Syn "," [Val (VStr "bar"),Val (VStr "baz")])
22:48 weinig_ joined
bloonix but I dont understand the difference between %h{'foo'} and %h{foo} 22:48
TimToady ?eval :foo<bar baz>.say 22:49
evalbot_r16861 OUTPUT[foobar bazā¤] Bool::True
thoughtpolice %h{foo} is treated as though foo is an actual subroutine; it's returning value is what's used as the key to find your element
TimToady one has a string arg, and the other has something that cannot be a string
bloonix okay
TimToady there is not longer any special quoting rule about barewords inside {}
yet another simplification
22:50 Creolamn joined, angel_4you joined, breadman joined, strangedo joined
bloonix like the p5 $p{'foo'} and $p{&foo} 22:50
angel_4you GOUDATR0N AND THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF OUTPUTTING PHP CODE FROM ANY OF ITS INPUT LANGUAGES.
Creolamn GOUDATR0N AND THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF OUTPUTTING PHP CODE FROM ANY OF ITS INPUT LANGUAGES.
strangedo GOUDATR0N AND THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF OUTPUTTING PHP CODE FROM ANY OF ITS INPUT LANGUAGES.
breadman GOUDATR0N AND THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF OUTPUTTING PHP CODE FROM ANY OF ITS INPUT LANGUAGES.
angel_4you GOUDATR0N AND THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF OUTPUTTING PHP CODE FROM ANY OF ITS INPUT LANGUAGES.
Creolamn GOUDATR0N AND THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF OUTPUTTING PHP CODE FROM ANY OF ITS INPUT LANGUAGES.
strangedo GOUDATR0N AND THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF OUTPUTTING PHP CODE FROM ANY OF ITS INPUT LANGUAGES.
breadman GOUDATR0N AND THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF OUTPUTTING PHP CODE FROM ANY OF ITS INPUT LANGUAGES.
22:50 TimToady sets mode: +R
Creolamn GOUDATR0N AND THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF OUTPUTTING PHP CODE FROM ANY OF ITS INPUT LANGUAGES. 22:50
22:50 TimToady sets mode: +b *!n=stefan@71.59.220.*, Creolamn was kicked by TimToady (CRAPSPAM-))
thoughtpolice again? 22:50
strangedo GOUDATR0N AND THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF OUTPUTTING PHP CODE FROM ANY OF ITS INPUT LANGUAGES.
22:50 TimToady sets mode: +b *!n=jagobah@62.57.82.*, strangedo was kicked by TimToady (CRAPSPAM-))
thoughtpolice losers. 22:50
angel_4you GOUDATR0N AND THE GREATER ALLIANCE OF PHP PROGRAMMERS DEMAND THAT PARROT BE CAPABLE OF OUTPUTTING PHP CODE FROM ANY OF ITS INPUT LANGUAGES.
22:51 TimToady sets mode: +b *!n=mars@89.41.21.*, breadman was kicked by TimToady (CRAPSPAM-))
thoughtpolice irc.perl.org's been being hit by the same botnet hasn't it? 22:51
22:52 TimToady sets mode: -R
TimToady bloonix: sorry if you couldn't post there for a bit 22:52
bloonix no problem, not your false
avar oh goddamnit
TimToady++ 22:53
lamers--
bloonix what I said was that %h{foo} is equivalent to $h{&foo} and %h{'foo'} to $h{foo}
22:53 theorb joined
bloonix p6 <-> p5 22:53
avar and %h<foo> to %h{'foo'}
TimToady well, equiv to foo(), since &foo means something weird in p5
&foo in p6 is always just the sub object and doesn't call it 22:54
you'd have to say &foo() to call it in p6
bloonix what is the equivalent to ref() in p6 ? 22:58
TimToady $x.WHAT
?eval 42.WHAT
evalbot_r16861 ::Int
TimToady ?eval WHAT(42)
evalbot_r16861 ::Int
TimToady if you like the function look 22:59
?eval 42.WHICH
evalbot_r16861 42
TimToady (values are their own identity...)
?eval my %array; say %array.WHICH
evalbot_r16861 OUTPUT[ā¤] Bool::True 23:00
TimToady hmm, unimplemented, seems
bloonix ?eval say {}.WHAT
evalbot_r16861 OUTPUT[ā¤] ::Bool
TimToady is apparently returning the value for non-values too :( 23:01
bloonix say {foo=>'bar'}.WHAT;
TimToady ?eval { 42 }.WHAT
evalbot_r16861 ::Block
bloonix ?eval say {foo=>'bar'}.WHAT;
TimToady ?eval { 42 }.WHICH
evalbot_r16861 OUTPUT[foobarā¤ā¤] ::Bool
{Syn "block" {42}}
bloonix hmmm
TimToady ?eval { 42 }.HOW
evalbot_r16861 \Class.new(("is" => ("Code",)), ("name" => "Block"))
TimToady not all the metadata is hooked in yet in its final form 23:02
bloonix $z is a hash ref if I do "my %x = (foo=>'bar'); my $y := %x;" ? 23:03
TimToady well, no, but $y is. :) 23:04
thoughtpolice TimToady: you wouldn't happen to know if the circumfix category for defining your own operators is working fully, would you? in all the instances I've tried to use it, the multi-sub declaration has gone fine, however, actually attempting to use it has failed in every instance I've tried
bloonix ?eval my %x = (foo=>'bar'); my $y := %x; say $y.WHAT
evalbot_r16861 OUTPUT[Hashā¤] Bool::True
bloonix oops, of course TimToady :)
to many x y z today :)
TimToady probably not; it'll start working as soon as we can swap in STD.pm for the parser
bloonix is there a equivalent to strict and warnings in p6 that I can use? 23:05
TimToady it's the default for anything longer than a one-liner
dduncan yay
TimToady I think evalbot has strict turned off these days. 23:06
?eval $foo
evalbot_r16861 \undef
TimToady that used to complain about undefined
?eval use strict; $foo
evalbot_r16861 Error: *** Unsafe function 'use' called under safe modeā¤ at -e line 16, column 7-63
TimToady heh
dduncan unfortunately, that presents problems ... 23:07
when trying to reproduce an error in pugs, because evalbot behaves differently
TimToady anyway, put a bare $foo into a file and run it, and you should get an error
thoughtpolice TimToady: ah. at least fun can be had with infix/postfix/prefix. I assume the same can be said about postcircumfix?
TimToady or just from the command-line interface
dduncan how do you turn strict on for evalbot oneliners, so we can get consistent behaviour
TimToady it appears to be strict by default
dduncan with the command line 23:08
bloonix TimToady: right. it occurs an error. fine
TimToady ?eval module Foo; $foo 23:09
evalbot_r16861 \undef
TimToady ?eval use v6; $foo
evalbot_r16861 \undef
TimToady that *should* turn strict on, I think... 23:10
bloonix $pair = :key('value'); <--- only one pair? 23:11
$x = :foo('bar'), :baz('foobar'); dont works :)
TimToady yes, that's a scalar assignment, so doesn't get past the comma 23:12
?eval @x = :foo('bar'), :baz('foobar');
evalbot_r16861 [("foo" => "bar"), ("baz" => "foobar")]
TimToady works better with list assignment
Limbic_Region TimToady - have you seen the dive into Perl 6 series of blogs? 23:13
TimToady some
bloonix how can I access bar?
say $x.foo dont run
arg
Limbic_Region what is the term given to the end of epoch when 32 bit systems blow up?
TimToady ?eval @x = :foo('bar'), :baz('foobar'); @x[0].value
evalbot_r16861 \"bar"
bloonix ah okay 23:14
TimToady It's the End of the World as We Know It, and I Feel Fine...
bloonix I need a hand full sleep. it was a long day and my first p6 code
Limbic_Region hrm, I am looking for a shortcut
TimToady congrats for making it this far 23:15
2038?
Limbic_Region while I enjoy your singing, I would like a 1 word term ;-)
bloonix good night people and thanks for your suggestions 23:16
Limbic_Region 2038 works for me
thanks
TimToady Limbic_Region: actually 2038 is when it overflows 31 bits 23:21
23:21 weinig_ is now known as weinig
TimToady you get another 68 years before it overflows 32 bits 23:24
well, okay, 68 years and 18 days and 03 hours and 14 minutes and 8 seconds 23:25
23:26 rashakil joined
TimToady so 2106 23:27
23:28 polettix joined
TimToady but it's signed on most Unix/Linux, so most people recognize 2038 23:30
23:35 thorat joined 23:40 diakopter_afk is now known as diakopter, BinGOs sets mode: +o diakopter
thoughtpolice yawns 23:57
this dependecy database creation is probably going to take a while